mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Updated from git comments. Return status code 400 for duplicate
email address.
This commit is contained in:
@@ -35,6 +35,7 @@ def register():
|
||||
return redirect(url_for('main.verify'))
|
||||
else:
|
||||
flash('There was an error registering your account')
|
||||
return render_template('views/register.html', form=form), 400
|
||||
|
||||
return render_template('views/register.html', form=form)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user