forked from MarseyWorld/MarseyWorld
fggf
parent
16077fa457
commit
afc48c03a6
|
@ -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…
Reference in New Issue