mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-16 20:34:34 -04:00
Update username constraints
https://github.com/FreshRSS/FreshRSS/issues/1597
This commit is contained in:
@@ -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