mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 02:11:52 -04:00
Update username constraints
https://github.com/FreshRSS/FreshRSS/issues/1597
This commit is contained in:
1 parent
16b269f33d
commit
c3f2302be7
3 files changed
+5
-5
No files matched your search
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user