Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-11-17 22:18:20 +0300
committerJoas Schilling <coding@schilljs.com>2020-11-17 22:18:20 +0300
commit5036992a194ebd49c5dad65dae9d4fffa5c226ab (patch)
treec97e3c1b91379a02d45353a3a5cf00e0a60e60e1 /templates
parent303be2245438f1089dbcbbf69cba8626e66cb239 (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.php6
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">