mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-10 20:00:10 +00:00
[Update] 部分view放到auth中
This commit is contained in:
@@ -437,7 +437,7 @@ class MFAMixin:
|
||||
if not self.mfa_enabled:
|
||||
return False, None
|
||||
if self.mfa_is_otp() and not self.otp_secret_key:
|
||||
return True, reverse('users:user-otp-enable-start')
|
||||
return True, reverse('authentication:user-otp-enable-start')
|
||||
return False, None
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user