master
Aevann1 2021-08-22 17:41:19 +02:00
parent 16077fa457
commit afc48c03a6
2 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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">