Forward error messages of the password policy directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
303be22454
commit
5036992a19
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue