Browse Source

Newly registered user logged in directly

current_wdka_release
crunk 3 years ago
parent
commit
1a50898d21
  1. 1
      verse/start.py

1
verse/start.py

@ -100,6 +100,7 @@ def register():
db.session.add(newuser) db.session.add(newuser)
db.session.commit() db.session.commit()
flash("Account Succesfully created", "success") flash("Account Succesfully created", "success")
login_user(newuser)
return redirect(url_for("index")) return redirect(url_for("index"))
except InvalidRequestError: except InvalidRequestError:

Loading…
Cancel
Save