aboutsummaryrefslogtreecommitdiff
path: root/cli/create-user.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-07-22 15:47:13 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-07-22 15:47:13 +0200
commitc3f2302be71d4b3bc2dd4cc67dd16c4505203498 (patch)
tree2c775919ae170dfe0e3729cc0f8f19152555d954 /cli/create-user.php
parent16b269f33dd28eb01e37f694f6d2061cdfec32f4 (diff)
Update username constraints
https://github.com/FreshRSS/FreshRSS/issues/1597
Diffstat (limited to 'cli/create-user.php')
-rwxr-xr-xcli/create-user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/create-user.php b/cli/create-user.php
index c9e350c14..f44591cc9 100755
--- a/cli/create-user.php
+++ b/cli/create-user.php
@@ -18,7 +18,7 @@ if (empty($options['user'])) {
}
$username = $options['user'];
if (!FreshRSS_user_Controller::checkUsername($username)) {
- fail('FreshRSS error: invalid username “' . $username . '”');
+ fail('FreshRSS error: invalid username “' . $username . '”! Must be matching ' . FreshRSS_user_Controller::USERNAME_PATTERN);
}
$usernames = listUsers();