mirror of https://github.com/jumpserver/jumpserver
fix: 修改 utils/disable_user_mfa.sh otp_level => mfa_level
parent
149ca1afce
commit
9d2ae7d1ed
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue