rename two_factor to two_factor_sms

it's a bit confusing now that there are three endpoints. the other two
are already renamed two_factor_email and two_factor_webauthn
This commit is contained in:
Leo Hemsted
2021-05-14 19:15:12 +01:00
parent 907a7dc363
commit c203f624ca
12 changed files with 26 additions and 23 deletions

View File

@@ -36,7 +36,7 @@ def verify():
finally:
session.pop('user_details', None)
return render_template('views/two-factor.html', form=form)
return render_template('views/two-factor-sms.html', form=form)
@main.route('/verify-email/<token>')