Skip to content

Commit f5eb90b

Browse files
committed
Make unauth handler redirect to login
1 parent a3c89dd commit f5eb90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

goathacks/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def user_loader(user_id):
5050
@login.unauthorized_handler
5151
def unauth():
5252
flash("Please login first")
53-
return redirect(url_for("registration.register"))
53+
return redirect(url_for("registration.login"))
5454

5555

5656
class PwResetRequest(db.Model):

0 commit comments

Comments
 (0)