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
..
2024-03-28 20:40:35 +00:00
2024-03-31 02:35:19 +00:00
2024-03-25 15:00:16 +08:00
2024-03-28 16:14:30 +00:00
2024-03-04 08:16:03 +00:00
2024-03-28 16:14:30 +00:00
2023-12-25 21:25:29 +01:00
2024-03-04 08:16:03 +00:00
2024-03-04 08:16:03 +00:00
2024-03-04 08:16:03 +00:00
2024-03-04 08:16:03 +00:00
2024-03-04 08:16:03 +00:00
2023-12-25 21:25:29 +01:00