diff --git a/fosspay/blueprints/html.py b/fosspay/blueprints/html.py index 9c59574..293a002 100644 --- a/fosspay/blueprints/html.py +++ b/fosspay/blueprints/html.py @@ -93,7 +93,7 @@ def login(): login_user(user) if user.admin: return redirect("/admin") - return redirect("/") + return redirect("/panel") @html.route("/logout") @loginrequired diff --git a/scripts/index.js b/scripts/index.js index 6b243b2..4bf2164 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -68,6 +68,7 @@ var handler = StripeCheckout.configure({ name: your_name, + email: window.email, key: window.stripe_key, image: window.avatar, locale: 'auto', diff --git a/templates/admin.html b/templates/admin.html index 203e955..feb3aff 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -80,7 +80,7 @@
Donors will not be given a choice of project unless you have at least 2.
-Enter your details for the admin account:
-