diff options
author | Joas Schilling <coding@schilljs.com> | 2020-11-17 22:18:20 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-17 22:18:20 +0300 |
commit | 5036992a194ebd49c5dad65dae9d4fffa5c226ab (patch) | |
tree | c97e3c1b91379a02d45353a3a5cf00e0a60e60e1 /templates | |
parent | 303be2245438f1089dbcbbf69cba8626e66cb239 (diff) |
Forward error messages of the password policy directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/form/user.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/form/user.php b/templates/form/user.php index 75b4b3a..c9fe067 100644 --- a/templates/form/user.php +++ b/templates/form/user.php @@ -6,11 +6,9 @@ script('registration', 'form'); ?><form action="" method="post"> <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" /> <fieldset> - <?php if (!empty($_['errormsgs'])) {?> + <?php if (!empty($_['message'])) {?> <ul class="error"> - <?php foreach ($_['errormsgs'] as $errormsg) { ?> - <li><?php p($errormsg); ?></li> - <?php } ?> + <li><?php p($_['message']); ?></li> </ul> <?php } else { ?> <ul class="msg"> |