diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /templates/loginform.php | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'templates/loginform.php')
| -rw-r--r-- | templates/loginform.php | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/templates/loginform.php b/templates/loginform.php index 69fc1f0..da717eb 100644 --- a/templates/loginform.php +++ b/templates/loginform.php @@ -32,20 +32,14 @@ $show_hidden_login = !$show_login && StudipAuthAbstract::isLoginEnabled(); <div id="login_flex"> <div> - <? if ($loginerror): ?> - <!-- failed login code --> - <?= MessageBox::error(_('Bei der Anmeldung trat ein Fehler auf!'), [ - $error_msg, - sprintf( - _('Bitte wenden Sie sich bei Problemen an: <a href="mailto:%1$s">%1$s</a>'), - $GLOBALS['UNI_CONTACT'] - ) - ]) ?> - <? endif ?> - - <?= implode('', PageLayout::getMessages()); ?> <div id="loginbox"> <header> + <system-notification-manager + id="system-notifications" + class="system-notifications-login" + :notifications='<?= htmlReady(json_encode(PageLayout::getMessages())) ?>' + append-all-to="#loginbox"></system-notification-manager> + <h1><?= htmlReady(Config::get()->UNI_NAME_CLEAN) ?></h1> </header> @@ -139,7 +133,6 @@ $show_hidden_login = !$show_login && StudipAuthAbstract::isLoginEnabled(); </div> - </main> <script type="text/javascript" language="javascript"> |
