2025 (last minute) #38

Closed
ngolp wants to merge 23 commits from 2025 into master
Showing only changes of commit 3ec089c749 - Show all commits

View file

@ -72,7 +72,7 @@ def register():
flash("User with email " + email + " already exists.") flash("User with email " + email + " already exists.")
else: else:
flash("An unknown error occurred.") flash("An unknown error occurred.")
return render_template("register.html", form=form) return redirect(url_for("registration.login"))
#user successfully registered, so login #user successfully registered, so login
flask_login.login_user(user) flask_login.login_user(user)