Merge with master and test fix.

This commit is contained in:
Nicholas Staples
2016-01-06 17:17:02 +00:00
parent 0a4ea6ca2e
commit 10c2978f85
4 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ class TestClient(FlaskClient):
session['user_id'] = user.id
verify_codes_dao.add_code(user_id=user.id, code='12345', code_type='sms')
response = self.post(
url_for('main.process_two_factor'), data={'sms_code': '12345'})
url_for('main.two_factor'), data={'sms_code': '12345'})
def logout(self, user):
self.get(url_for("main.logout"))