aboutsummaryrefslogtreecommitdiff
path: root/app/class/Application.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-10 15:33:21 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-10 15:33:21 +0200
commitc63a0228333e18fe2b1b84c29ab70af82698bdab (patch)
tree1f9eb76a162fb4cb02aefb65edea5e427b05b76c /app/class/Application.php
parentf29bb8688c02325196d7d5bd03fc528414f3055f (diff)
downloadwcms-c63a0228333e18fe2b1b84c29ab70af82698bdab.tar.gz
wcms-c63a0228333e18fe2b1b84c29ab70af82698bdab.zip
user manage password close #69
users can change their passwords themself
Diffstat (limited to 'app/class/Application.php')
-rw-r--r--app/class/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Application.php b/app/class/Application.php
index 4ddf37e..48d898c 100644
--- a/app/class/Application.php
+++ b/app/class/Application.php
@@ -129,7 +129,7 @@ class Application
<h2>
<label for="password">Your password</label>
</h2>
- <input type="password" name="userinit[password]" id="password" minlength="4" maxlength="64" required>
+ <input type="password" name="userinit[password]" id="password" minlength="<?= Wcms\Model::PASSWORD_MIN_LENGTH ?>" maxlength="<?= Wcms\Model::PASSWORD_MAX_LENGTH ?>" required>
<p><i>Your user passworder as first administrator.</i></p>
</div>
<input type="submit" value="set">