forked from rDrama/rDrama
1
0
Fork 0

remove default patron for WPD

master
Aevann1 2022-08-14 14:41:08 +02:00
parent db8a3013a1
commit a1b295d084
3 changed files with 2 additions and 5 deletions

View File

@ -47,7 +47,7 @@ class User(Base):
profileurl = Column(String) profileurl = Column(String)
bannerurl = Column(String) bannerurl = Column(String)
house = Column(String) house = Column(String)
patron = Column(Integer, default=PATRON_DEFAULT) patron = Column(Integer, default=0)
patron_utc = Column(Integer, default=0) patron_utc = Column(Integer, default=0)
verified = Column(String) verified = Column(String)
verifiedcolor = Column(String) verifiedcolor = Column(String)

View File

@ -1037,9 +1037,6 @@ MASTER_KEY = environ.get("MASTER_KEY")
TRUSTED_SERVER_PSK = environ.get("TRUSTED_SERVER_PSK", None) TRUSTED_SERVER_PSK = environ.get("TRUSTED_SERVER_PSK", None)
FP = environ.get("FP") FP = environ.get("FP")
if SITE_NAME == 'WPD': PATRON_DEFAULT = 7
else: PATRON_DEFAULT = 0
tiers={ tiers={
"(Paypig)": 1, "(Paypig)": 1,
"(Renthog)": 2, "(Renthog)": 2,

View File

@ -677,7 +677,7 @@
{%- endif %} {%- endif %}
{% if v.patron or v.id == MOOSE_ID %} {% if v.sig or v.patron %}
<div class="body d-lg-flex border-bottom"> <div class="body d-lg-flex border-bottom">
<label class="text-black w-lg-25">Signature</label> <label class="text-black w-lg-25">Signature</label>