mirror of https://github.com/go-gitea/gitea.git
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 |
||
|---|---|---|
| .. | ||
| avatar.go | ||
| badge.go | ||
| block.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 | ||