aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-05-09 10:10:12 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-05-09 10:10:12 +0200
commitc96c80ee9afe03e97229be71e5bc3ea397cfb260 (patch)
tree98b759365b85c874872599520a394cf29b2b4015
parent2f51556f775045689abcde413c765cd08b85058a (diff)
parent6aadb7e59a1c8e70cfa42457e1898e94fd854fb0 (diff)
Merge pull request #499 from nicolaselie/dev
Username regexp is too strict
-rw-r--r--p/i/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/i/install.php b/p/i/install.php
index f97f95d37..365d0696c 100644
--- a/p/i/install.php
+++ b/p/i/install.php
@@ -913,7 +913,7 @@ function printStep3 () {
<div class="form-group">
<label class="group-name" for="user"><?php echo _t ('username'); ?></label>
<div class="group-controls">
- <input type="text" id="user" name="user" maxlength="16" pattern="[0-9A-Za-z_]{1,16}" value="<?php echo isset ($_SESSION['bd_user']) ? $_SESSION['bd_user'] : ''; ?>" />
+ <input type="text" id="user" name="user" maxlength="16" pattern="[0-9A-Za-z_.-]{1,16}" value="<?php echo isset ($_SESSION['bd_user']) ? $_SESSION['bd_user'] : ''; ?>" />
</div>
</div>