Merge branch 'add_app_step_log' into 'master'
fixed variable name See merge request !7
This commit is contained in:
commit
1e5b63d068
@ -56,9 +56,9 @@ def user_registered_sighandler(app, user, confirm_token):
|
||||
"""
|
||||
role = user_datastore.find_role('user')
|
||||
user_datastore.add_role_to_user(user, role)
|
||||
v = Vehicle('default vehicle')
|
||||
db.session.add(v)
|
||||
user.vehicles.append(v)
|
||||
new_vehicle = Vehicle('default vehicle')
|
||||
db.session.add(new_vehicle)
|
||||
user.vehicles.append(new_vehicle)
|
||||
db.session.commit()
|
||||
db_log_add(user)
|
||||
db_log_add(new_vehicle)
|
||||
|
Loading…
Reference in New Issue
Block a user