master
Aevann1 2021-08-22 17:44:51 +02:00
parent 646164584a
commit 7417d74999
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ def themecolor(v):
g.db.add(v)
return redirect("/settings/profile")
@app.post("/settings/gumroad")
@app.get("/settings/gumroad")
@auth_required
@validate_formkey
def gumroad(v):

View File

@ -138,7 +138,7 @@
<div class="footer">
<div class="d-flex">
<a class="btn btn-success" href="javascript:void(0)" onclick="post('/settings/gumroad')">Claim patron rewards</a>
<a class="btn btn-success" href="/settings/gumroad">Claim patron rewards</a>
{% if v.email %}
<input class="btn btn-primary ml-auto"
type="submit" value="Update email">