mirror of https://github.com/go-gitea/gitea.git
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> |
||
---|---|---|
.. | ||
source | ||
auth.go | ||
auth_test.go | ||
basic.go | ||
group.go | ||
httpsign.go | ||
interface.go | ||
middleware.go | ||
oauth2.go | ||
reverseproxy.go | ||
session.go | ||
signin.go | ||
source.go | ||
sspi_windows.go | ||
sync.go |