aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/userController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/userController.php')
-rw-r--r--app/Controllers/userController.php2
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;
}