fggf
This commit is contained in:
parent
15f08c53e1
commit
04585e5dc9
2 changed files with 5 additions and 5 deletions
|
@ -209,10 +209,10 @@ def themecolor(v):
|
||||||
@auth_required
|
@auth_required
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
def gumroad(v):
|
def gumroad(v):
|
||||||
if not (v.email and v.is_activated):
|
#if not (v.email and v.is_activated):
|
||||||
return render_template("settings_profile.html",
|
#return render_template("settings_profile.html",
|
||||||
v=v,
|
#v=v,
|
||||||
error="You must have to a verified email to verify patron status")
|
#error="You must have to a verified email to verify patron status")
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
'access_token': GUMROAD_TOKEN,
|
'access_token': GUMROAD_TOKEN,
|
||||||
|
|
|
@ -138,7 +138,7 @@
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
|
<a class="btn btn-success" href="javascript:void(0)" onclick="post_toast('/settings/gumroad')">Claim patron rewards</a>
|
||||||
{% if v.email %}
|
{% if v.email %}
|
||||||
<input class="btn btn-primary ml-auto"
|
<input class="btn btn-primary ml-auto"
|
||||||
type="submit" value="Update email">
|
type="submit" value="Update email">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue