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-21 14:13:08 +01:00
2023-09-16 14:39:12 +00:00
2024-03-31 02:35:19 +00:00
2024-03-02 16:42:31 +01:00
2024-03-22 13:45:10 +00:00
2024-03-25 15:00:16 +08:00
2023-09-28 01:38:53 +00:00
2024-03-27 20:54:32 +00:00
2024-03-28 16:01:15 +08:00
2024-03-28 15:19:24 +00:00
2024-03-28 16:14:30 +00:00
2024-03-23 21:59:58 +00:00
2024-03-02 17:38:38 +00:00
2024-03-04 08:16:03 +00:00
2024-03-28 16:14:30 +00:00
2024-01-19 17:05:02 +01:00
2024-03-29 11:38:16 +08:00
2024-03-08 06:14:35 +00:00
2024-02-14 21:48:45 +00:00
2023-12-25 21:25:29 +01:00
2023-10-10 14:45:31 +00:00
2024-02-19 14:42:18 +01:00
2024-04-01 02:06:35 +00:00
2024-03-07 23:18:38 +01:00
2024-02-12 23:37:23 +01:00
2023-10-15 17:46:06 +02:00
2023-10-15 17:46:06 +02:00
2023-09-28 01:38:53 +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-10-11 04:24:07 +00:00
2024-03-04 08:16:03 +00:00
2023-12-25 21:25:29 +01:00