forked from rDrama/rDrama
sneed
parent
f6674820ba
commit
1a06c949da
|
@ -145,7 +145,7 @@ app.config["RATELIMIT_DEFAULTS_DEDUCT_WHEN"]=lambda:True
|
|||
app.config["RATELIMIT_DEFAULTS_EXEMPT_WHEN"]=lambda:False
|
||||
app.config["RATELIMIT_HEADERS_ENABLED"]=True
|
||||
|
||||
app.config["DISABLESIGNUPS"] = bool(int(environ.get("DISABLESIGNUPS", "0")))
|
||||
#app.config["DISABLESIGNUPS"] = bool(int(environ.get("DISABLESIGNUPS", "0")))
|
||||
|
||||
|
||||
def limiter_key_func():
|
||||
|
|
|
@ -29,9 +29,9 @@
|
|||
|
||||
{% endfilter %}
|
||||
|
||||
<div class="custom-control custom-switch">
|
||||
{#<div class="custom-control custom-switch">
|
||||
<input type="checkbox" class="custom-control-input" id="disablesignups" name="disablesignups" {% if 'DISABLESIGNUPS' | app_config %}checked{% endif %} onchange="post('/disablesignups');">
|
||||
<label class="custom-control-label" for="disablesignups">Disable signups</label>
|
||||
</div>
|
||||
</div>#}
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in New Issue