fix: 修改 utils/disable_user_mfa.sh otp_level => mfa_level

This commit is contained in:
Bai
2023-04-23 16:43:06 +08:00
committed by Jiangjie.Bai
parent 149ca1afce
commit 9d2ae7d1ed

View File

@@ -16,7 +16,7 @@ user = User.objects.filter(username="${username}")
if not user:
print("No user found")
sys.exit(1)
user.update(otp_level=0)
user.update(mfa_level=0)
print("Disable user ${username} success")
EOF
}