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
|
||||
@validate_formkey
|
||||
def gumroad(v):
|
||||
if not (v.email and v.is_activated):
|
||||
return render_template("settings_profile.html",
|
||||
v=v,
|
||||
error="You must have to a verified email to verify patron status")
|
||||
#if not (v.email and v.is_activated):
|
||||
#return render_template("settings_profile.html",
|
||||
#v=v,
|
||||
#error="You must have to a verified email to verify patron status")
|
||||
|
||||
data = {
|
||||
'access_token': GUMROAD_TOKEN,
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
<div class="footer">
|
||||
|
||||
<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 %}
|
||||
<input class="btn btn-primary ml-auto"
|
||||
type="submit" value="Update email">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue