aboutsummaryrefslogtreecommitdiff
path: root/cli/create-user.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2017-07-24 08:52:11 +0200
committerGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2017-07-24 08:52:11 +0200
commit1ac33e02bd8298d7ff700be90fea0ecd5e2eec52 (patch)
treef545ff2e05026ef919a7e6a361bee70380a652e5 /cli/create-user.php
parent46c31a75d746773c223c29c78211723170104189 (diff)
parente4f2784313753bca86487be03d487d5a1523927e (diff)
Merge branch 'FreshRSS/dev' into EasyRSS-PSQL-timestamp
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();