aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Siegfried <david.siegfried@uni-vechta.de>2023-07-15 21:25:33 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2023-07-15 21:25:33 +0000
commit59c9c68a6d167da439bdef3e03f9918123f7f981 (patch)
tree50d2137be894cd9ffb0bfba5da447827ec796e14
parent81acecc69bb19ea7b3e6b6b4310ecaf61f1465c3 (diff)
show more info, closes #2828
Closes #2828 Merge request studip/studip!1938
-rw-r--r--app/views/new_password/set.php1
-rw-r--r--app/views/settings/password.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/new_password/set.php b/app/views/new_password/set.php
index 7fa28ca..2938107 100644
--- a/app/views/new_password/set.php
+++ b/app/views/new_password/set.php
@@ -1,5 +1,6 @@
<form class="default" action="<?= $controller->url_for('new_password/set/' . $token_id) ?>" method="post">
<?= CSRFProtection::tokenTag() ?>
+ <?= MessageBox::info(_('Das Passwort sollte mindestens 8 Zeichen lang sein.')) ?>
<fieldset>
<legend>
<?= _('Neues Passwort setzen') ?>
diff --git a/app/views/settings/password.php b/app/views/settings/password.php
index ab423f7..70846fb 100644
--- a/app/views/settings/password.php
+++ b/app/views/settings/password.php
@@ -1,5 +1,5 @@
<? use Studip\Button; ?>
-
+<?= MessageBox::info(_('Das Passwort sollte mindestens 8 Zeichen lang sein.')) ?>
<form id="edit_password" method="post" action="<?= $controller->url_for('settings/password/store') ?>" class="default">
<?= CSRFProtection::tokenTag() ?>
<input type="hidden" name="studip_ticket" value="<?= get_ticket() ?>">