Skip to content

A free, self-hostable news aggregator…

Fix empty token bug (#6185)

Alexandre Alapetite354a5e83888c
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index fdf57b5f9..9bcf13d6f 100644
--- a/app/Controllers/userController.php
+++ b/app/Controllers/userController.php
@@ -126,7 +126,7 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController {
$email,
$passwordPlain,
[
- 'token' => Minz_Request::paramString('token') ?: null,
+ 'token' => Minz_Request::paramString('token'),
]
);