aboutsummaryrefslogtreecommitdiff
path: root/app/class/Application.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-10 15:33:49 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-10 15:33:49 +0200
commit7503edafe206d9f16da4d12b6dea0458ca9c2432 (patch)
tree9cb2e207dac95d4ffe49e5ef1c06ebfaefa8053e /app/class/Application.php
parentdef7a991b0112f906fccf802587e8bc6b19bae29 (diff)
parentc63a0228333e18fe2b1b84c29ab70af82698bdab (diff)
downloadwcms-7503edafe206d9f16da4d12b6dea0458ca9c2432.tar.gz
wcms-7503edafe206d9f16da4d12b6dea0458ca9c2432.zip
Merge branch 'implement-password'
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">