mirror of https://github.com/go-gitea/gitea
Check primary email address fields on CreateUser (#556)
* Check primary email address fields on CreateUser As this check wasn't available, uid=1 (and possibly guests too, if registration is open) is able to register new users with existing email addresses. This leads to numerous 500 errors. * Update user.go * Lower the email first. Then checkpull/585/head
parent
1207bda94b
commit
bdad3b259a
Loading…
Reference in new issue