Przeglądaj źródła

Fix empty token bug (#6185)

fix https://github.com/FreshRSS/FreshRSS/issues/6184
Alexandre Alapetite 2 lat temu
rodzic
commit
354a5e8388
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Controllers/userController.php

+ 1 - 1
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'),
 				]
 			);