Remove ConfirmMobileNumberForm

It’s exactly the same code as `TwoFactorForm` was.
This commit is contained in:
Chris Hill-Scott
2018-05-07 22:53:36 +01:00
parent 063f9cc081
commit 60c56be048
2 changed files with 2 additions and 15 deletions

View File

@@ -18,8 +18,8 @@ from app.main.forms import (
ChangeMobileNumberForm,
ChangeNameForm,
ChangePasswordForm,
ConfirmMobileNumberForm,
ConfirmPasswordForm,
TwoFactorForm,
)
from app.utils import is_gov_user
@@ -169,7 +169,7 @@ def user_profile_mobile_number_confirm():
if NEW_MOBILE_PASSWORD_CONFIRMED not in session:
return redirect(url_for('.user_profile_mobile_number'))
form = ConfirmMobileNumberForm(_check_code)
form = TwoFactorForm(_check_code)
if form.validate_on_submit():
user = user_api_client.get_user(current_user.id)