A free, self-hostable news aggregator…
correct check username pattern
Clément648fcb63b517
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.phpindex 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;}