login: Add a 'registration disabled' hint if registration is disabled

This commit is contained in:
Birte Kristina Friesel 2023-12-09 12:28:25 +01:00
parent 6364751eb1
commit f52286f9b2
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -96,4 +96,11 @@
<div class="col s3 m3 l3">
</div>
</div>
% if (app->config->{registration}{disabled}) {
<div class="row" style="margin-top: 2em;">
<div class="col s12 center-align">
<em>Diese Instanz erlaubt derzeit keine Registrierung neuer Accounts</em>
</div>
</div>
% }
%= end