diff options
| author | 2017-02-19 15:00:26 +0100 | |
|---|---|---|
| committer | 2017-02-19 15:00:26 +0100 | |
| commit | 648fcb63b5170d07ad6d157249be398912da658f (patch) | |
| tree | 80dff57d609551dd8970375649c303636d52a061 /app/Controllers/userController.php | |
| parent | ef2001959188f721a0928fb3ff59ebd6a5a31b1a (diff) | |
correct check username pattern
Diffstat (limited to 'app/Controllers/userController.php')
| -rw-r--r-- | app/Controllers/userController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php index 246be1bfe..718207734 100644 --- a/app/Controllers/userController.php +++ b/app/Controllers/userController.php @@ -35,7 +35,7 @@ class FreshRSS_user_Controller extends Minz_ActionController { } public static function checkUsername($username) { - $match = '/^[a-zA-Z_]{1,38}$/'; + $match = '/^[0-9a-zA-Z_]{1,38}$/'; return preg_match($match, $username) === 1; } |
