mirror of
https://git.wownero.com/wownero/wownero-funding-system.git
synced 2024-08-15 00:53:45 +00:00
Dont show SQLa error on user reg
This commit is contained in:
parent
35fa3f51c6
commit
3c9c242f60
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ def register():
|
|||
flash('Successfully registered. No confirmation email required. You can login!')
|
||||
return redirect(url_for('login'))
|
||||
except Exception as ex:
|
||||
flash('Could not register user: %s' % str(ex), 'error')
|
||||
flash('Could not register user. Probably a duplicate username or email that already exists.', 'error')
|
||||
return make_response(render_template('register.html'))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue