From 9588618786d532a1fe7ae665b19deb6cc4ed9cf7 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 13 Feb 2019 10:05:33 -0500 Subject: [PATCH] Use relative redirect from donation cancellation --- fosspay/blueprints/html.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):