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

View File

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