Slight changes to match new API features:

- get user now throws a 404 so handle that
- making a service now needs one user not many to create
This commit is contained in:
Martyn Inglis
2016-02-19 16:38:08 +00:00
parent f761afa76e
commit 6616182ab3
3 changed files with 11 additions and 5 deletions

View File

@@ -26,7 +26,6 @@ def register():
return redirect(url_for('main.choose_service'))
form = RegisterUserForm()
if form.validate_on_submit():
if users_dao.is_email_unique(form.email_address.data):
try: