Hide the register prompt when signups are closed
This commit is contained in:
1 parent
f241e5f6ed
commit
6d20037cdf
1 file changed
+2
@@ -38,10 +38,12 @@
|
|||||||
|
|
||||||
<hr class="my-4">
|
<hr class="my-4">
|
||||||
|
|
||||||
|
{% if allow_registration %}
|
||||||
<p class="text-center text-muted mb-0">
|
<p class="text-center text-muted mb-0">
|
||||||
Don't have an account?
|
Don't have an account?
|
||||||
<a href="{{ url_for('auth.register') }}">Register here</a>
|
<a href="{{ url_for('auth.register') }}">Register here</a>
|
||||||
</p>
|
</p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user