fix: 缩进

pull/10490/head
jiangweidong 2023-05-18 14:58:07 +08:00
parent ec2071a6ca
commit 3d66fe4758
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class MFAMixin:
def check_user_mfa_if_need(self, user):
if self.request.session.get('auth_mfa') and \
self.request.session.get('auth_mfa_username') == user.username:
self.request.session.get('auth_mfa_username') == user.username:
return
if not user.mfa_enabled:
return