Merge branch 'master' into platform-admin

Conflicts:
	tests/app/main/views/test_dashboard.py
This commit is contained in:
Rebecca Law
2016-03-21 13:23:46 +00:00
10 changed files with 79 additions and 23 deletions

View File

@@ -16,6 +16,7 @@ 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: