gitea/models/user
wxiaoguang a008486f5c
Refactor DeleteInactiveUsers, fix bug and add tests (#30206)
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
2024-04-01 02:06:35 +00:00
..
avatar.go
badge.go
block.go
email_address.go Refactor DeleteInactiveUsers, fix bug and add tests (#30206) 2024-04-01 02:06:35 +00:00
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 Add setting to disable user features when user login type is not plain (#29615) 2024-03-29 16:05:41 +01:00
user_system.go
user_test.go Add setting to disable user features when user login type is not plain (#29615) 2024-03-29 16:05:41 +01:00
user_update.go