mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-11 04:09:45 +00:00
[Update] 修改user list api
This commit is contained in:
@@ -404,7 +404,8 @@ class MFAMixin:
|
||||
|
||||
def mfa_enabled_but_not_set(self):
|
||||
if self.mfa_enabled and \
|
||||
self.mfa_is_otp() and not self.otp_secret_key:
|
||||
self.mfa_is_otp() and \
|
||||
not self.otp_secret_key:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
Reference in New Issue
Block a user