diff options
author | Jonas Kohl | 2024-09-19 14:49:29 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-19 14:49:29 +0200 |
commit | 5c707597ba936b1b82ee9a1cf546e720d1a490bd (patch) | |
tree | 5b67d9a55965bd13a7a6d308413708ff753fb43b /src/application/views/form_login.php | |
parent | 624b750a613bbd22b0ceba574063a4929a1943a9 (diff) |
Small bugfixesv0.1.1
Diffstat (limited to 'src/application/views/form_login.php')
-rw-r--r-- | src/application/views/form_login.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/application/views/form_login.php b/src/application/views/form_login.php index 87ee516..5fa79ad 100644 --- a/src/application/views/form_login.php +++ b/src/application/views/form_login.php @@ -38,12 +38,14 @@ if (($_formError = RequestUtils::getAndClearFormError("login")) !== null) { <a class="btn btn-link" href="?_action=pwreset"><?= __("I forgot my password") ?></a> </div> +<?php if (REGISTRATION_ENABLED): ?> <div class="form-group"> <?= __("Don't have an account? %link%Register now%/link%", [ "link" => '<a href="?_action=register">', "/link" => '</a>', ]) ?> </div> +<?php endif; ?> </form> </div> <div class="col-md-4"></div> |