##// END OF EJS Templates
fix(2fa): fixed typo from refactor
super-admin -
r5375:7ec0fbd3 default
parent child Browse files
Show More
@@ -495,7 +495,7 b' class LoginView(BaseAppView):'
495 495 secret = form_details['secret_totp']
496 496
497 497 user_instance.init_2fa_recovery_codes(persist=True, force=True)
498 user_instance.2fa_secret = secret
498 user_instance.secret_2fa = secret
499 499
500 500 Session().commit()
501 501 raise HTTPFound(self.request.route_path('my_account_configure_2fa', _query={'show-recovery-codes': 1}))
General Comments 0
You need to be logged in to leave comments. Login now