mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-12-16 04:47:15 +08:00
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
16 KiB
16 KiB