diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-09 12:28:25 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-09 12:28:25 +0100 |
commit | f52286f9b219d39ad3eb9f5bf4ec1a9aac2c1321 (patch) | |
tree | 7c1694c488e68658aee9573c5dcc98065f97163c | |
parent | 6364751eb13ed18111e69a06185657d64bdea5ac (diff) |
login: Add a 'registration disabled' hint if registration is disabled
-rw-r--r-- | templates/login.html.ep | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/login.html.ep b/templates/login.html.ep index 4e6097f..ce89813 100644 --- a/templates/login.html.ep +++ b/templates/login.html.ep @@ -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 |