forked from NYANDEV/forgejo
1819c4b59b
This allows for usernames, and emails connected to them to be reserved and not reused. Use case, I manage an instance with open registration, and sometimes when users are deleted for spam (or other purposes), their usernames are freed up and they sign up again with the same information. This could also be used to reserve usernames, and block them from being registered (in case an instance would like to block certain things without hardcoding the list in code and compiling from scratch). This is an MVP, that will allow for future work where you can set something as reserved via the interface. --------- Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: John Olheiser <john.olheiser@gmail.com> |
||
---|---|---|
.. | ||
avatar.go | ||
badge.go | ||
email_address.go | ||
email_address_test.go | ||
error.go | ||
external_login_user.go | ||
follow.go | ||
follow_test.go | ||
list.go | ||
main_test.go | ||
must_change_password.go | ||
openid.go | ||
openid_test.go | ||
redirect.go | ||
redirect_test.go | ||
search.go | ||
setting.go | ||
setting_keys.go | ||
setting_test.go | ||
user.go | ||
user_system.go | ||
user_test.go | ||
user_update.go |