|
|
@ -273,7 +273,7 @@ def reset_password(token): |
|
|
|
user.password_reset_expires = None |
|
|
|
user.password_reset_expires = None |
|
|
|
db.commit() |
|
|
|
db.commit() |
|
|
|
login_user(user) |
|
|
|
login_user(user) |
|
|
|
return redirect("panel") |
|
|
|
return redirect("../panel") |
|
|
|
|
|
|
|
|
|
|
|
@html.route("/panel") |
|
|
|
@html.route("/panel") |
|
|
|
@loginrequired |
|
|
|
@loginrequired |
|
|
@ -294,7 +294,7 @@ def cancel(id): |
|
|
|
donation.active = False |
|
|
|
donation.active = False |
|
|
|
db.commit() |
|
|
|
db.commit() |
|
|
|
send_cancellation_notice(user, donation) |
|
|
|
send_cancellation_notice(user, donation) |
|
|
|
return redirect("/panel") |
|
|
|
return redirect("../panel") |
|
|
|
|
|
|
|
|
|
|
|
@html.route("/invoice/<id>") |
|
|
|
@html.route("/invoice/<id>") |
|
|
|
def invoice(id): |
|
|
|
def invoice(id): |
|
|
|