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

pull/10333/head
Bai 2 years ago committed by Jiangjie.Bai
parent 149ca1afce
commit 9d2ae7d1ed

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

Loading…
Cancel
Save