remove legacy field

This commit is contained in:
deflax 2024-04-01 19:32:49 +03:00
parent 4c682087a1
commit bdc3a5c716

View file

@ -145,7 +145,7 @@ def register():
page = { 'title': 'Register' }
form = RegistrationForm()
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.commit()
token = user.generate_confirmation_token()