diff --git a/fosspay/blueprints/html.py b/fosspay/blueprints/html.py index db3581c..6dd2708 100644 --- a/fosspay/blueprints/html.py +++ b/fosspay/blueprints/html.py @@ -273,7 +273,7 @@ def reset_password(token): user.password_reset_expires = None db.commit() login_user(user) - return redirect("panel") + return redirect("../panel") @html.route("/panel") @loginrequired @@ -294,7 +294,7 @@ def cancel(id): donation.active = False db.commit() send_cancellation_notice(user, donation) - return redirect("/panel") + return redirect("../panel") @html.route("/invoice/") def invoice(id):