Compare commits

..

No commits in common. "1ad46cbdc4893e52c144b29b0d69ca4627be8e04" and "4c682087a19b73a263464f2977762efa21f36a11" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View file

@ -5,7 +5,4 @@
```sh ```sh
$ docker-compose up -d --build --remove-orphans ; docker-compose logs -f --timestamps $ docker-compose up -d --build --remove-orphans ; docker-compose logs -f --timestamps
``` ```
4. Initialize db schema using: 4. Seed db
```sh
$ docker-compose exec forest python manage.py create_db
```

View file

@ -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) user = User(email=form.email.data, password=form.password.data, wallet=current_app.config['REGISTER_BONUS'])
db.session.add(user) db.session.add(user)
db.session.commit() db.session.commit()
token = user.generate_confirmation_token() token = user.generate_confirmation_token()