mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 23:54:25 +00:00
98a81bef17
Backport #30206 by wxiaoguang 1. check `IsActive` before calling `IsLastAdminUser`. 2. Fix some comments and error messages. 3. Don't `return err` if "removing file" fails in `DeleteUser`. 4. Remove incorrect `DeleteInactiveEmailAddresses`. Active users could also have inactive emails, and inactive emails do not support "olderThan" 5. Add tests Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
---|---|---|
.. | ||
avatar.go | ||
block_test.go | ||
block.go | ||
delete.go | ||
email_test.go | ||
email.go | ||
update_test.go | ||
update.go | ||
user_test.go | ||
user.go |