remove legacy field
This commit is contained in:
parent
4c682087a1
commit
bdc3a5c716
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ def register():
|
||||||
page = { 'title': 'Register' }
|
page = { 'title': 'Register' }
|
||||||
form = RegistrationForm()
|
form = RegistrationForm()
|
||||||
if form.validate_on_submit():
|
if form.validate_on_submit():
|
||||||
user = User(email=form.email.data, password=form.password.data, wallet=current_app.config['REGISTER_BONUS'])
|
user = User(email=form.email.data, password=form.password.data)
|
||||||
db.session.add(user)
|
db.session.add(user)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
token = user.generate_confirmation_token()
|
token = user.generate_confirmation_token()
|
||||||
|
|
Loading…
Reference in a new issue