perf: Remove account_deleted, password_error, no_admin_account others risk

This commit is contained in:
wangruidong
2025-03-12 15:37:29 +08:00
committed by w940853815
parent 6e83420e67
commit 153be1508f
3 changed files with 3 additions and 15 deletions

View File

@@ -142,15 +142,11 @@ class Migration(migrations.Migration):
("groups_changed", "Groups change"),
("sudoers_changed", "Sudo changed"),
("authorized_keys_changed", "Authorized keys changed"),
("account_deleted", "Account delete"),
("password_expired", "Password expired"),
("long_time_password", "Long time no change"),
("weak_password", "Weak password"),
("leaked_password", "Leaked password"),
("repeated_password", "Repeated password"),
("password_error", "Password error"),
("no_admin_account", "No admin account"),
("others", "Others"),
],
max_length=128,
verbose_name="Risk",