Show More
@@ -495,7 +495,7 b' class LoginView(BaseAppView):' | |||||
495 | secret = form_details['secret_totp'] |
|
495 | secret = form_details['secret_totp'] | |
496 |
|
496 | |||
497 | user_instance.init_2fa_recovery_codes(persist=True, force=True) |
|
497 | user_instance.init_2fa_recovery_codes(persist=True, force=True) | |
498 |
user_instance. |
|
498 | user_instance.secret_2fa = secret | |
499 |
|
499 | |||
500 | Session().commit() |
|
500 | Session().commit() | |
501 | raise HTTPFound(self.request.route_path('my_account_configure_2fa', _query={'show-recovery-codes': 1})) |
|
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