diff --git a/goathacks/models.py b/goathacks/models.py index 0ff2f20..f0cbcd2 100644 --- a/goathacks/models.py +++ b/goathacks/models.py @@ -50,7 +50,7 @@ def user_loader(user_id): @login.unauthorized_handler def unauth(): flash("Please login first") - return redirect(url_for("registration.register")) + return redirect(url_for("registration.login")) class PwResetRequest(db.Model):