diff --git a/website/auth_pages.py b/website/auth_pages.py index 9b8ee4aa5ee..2e22abd40b1 100644 --- a/website/auth_pages.py +++ b/website/auth_pages.py @@ -225,9 +225,9 @@ def verify_email(self): if not user: return make_response(gettext("username_invalid"), 403) - # If user is already verified -> re-direct to landing-page anyway + # If user is already verified -> re-direct to hedy page if "verification_pending" not in user: - return redirect("/landing-page") + return redirect("/hedy") # Verify the token if token != user["verification_pending"]: @@ -241,7 +241,7 @@ def verify_email(self): self.db.store_token({"id": cookie, "username": user["username"], "ttl": times() + SESSION_LENGTH}) remember_current_user(user) - return redirect("/landing-page") + return redirect("/hedy") @route("/turn-into-teacher", methods=['POST']) def turn_into_teacher_account(self):