Revert "In registration flow If new sms requested then check and send redirected to two factor"

This commit is contained in:
Adam Shimali
2016-03-21 13:44:53 +00:00
parent 234fe387df
commit 792b42017a
4 changed files with 6 additions and 29 deletions

View File

@@ -17,7 +17,6 @@ from app.main.forms import TwoFactorForm
@main.route('/two-factor', methods=['GET', 'POST'])
def two_factor():
# TODO handle user_email not in session
try:
user_id = session['user_details']['id']
except KeyError: