diff options
| author | 2017-02-25 13:08:45 +0100 | |
|---|---|---|
| committer | 2017-02-25 13:08:45 +0100 | |
| commit | fb6bb8e826a29c1f94a705ea39ecc052ff59b99f (patch) | |
| tree | 08643f3a2901fc38aaa0841cebd35fc714842f49 /cli/do-install.php | |
| parent | b8ac2b1d8ab47642018bd3f0fe6863b69a2743d6 (diff) | |
| parent | 0bd4b2c74204a2f9360816ab22aac0da4c459824 (diff) | |
Merge pull request #1423 from plopoyop/feature/username-in-cli
[WIP] Feature/username in cli
Diffstat (limited to 'cli/do-install.php')
| -rwxr-xr-x | cli/do-install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/do-install.php b/cli/do-install.php index c9fa3f5ab..c2f5b286d 100755 --- a/cli/do-install.php +++ b/cli/do-install.php @@ -48,7 +48,7 @@ if ($requirements['all'] !== 'ok') { fail($message); } -if (!ctype_alnum($options['default_user'])) { +if (!FreshRSS_user_Controller::checkUsername($options['default_user'])) { fail('FreshRSS invalid default username (must be ASCII alphanumeric): ' . $options['default_user']); } |
