aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/authController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-01-30 15:53:17 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-30 15:53:17 +0100
commit47e242aa77bb8583e8716023c4bcef0462891ebd (patch)
tree05ca76b2459db75c9ae3236acbc6ec711fb5c7dd /app/Controllers/authController.php
parent24afafb74d422bd8d7526719046253279cb7e713 (diff)
Fix ctype_alnum (#4182)
* Fix ctype_alnum #fix https://github.com/FreshRSS/FreshRSS/issues/4180 Ensure `ctype_alnum()` gets a string * Changelog
Diffstat (limited to 'app/Controllers/authController.php')
-rw-r--r--app/Controllers/authController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/authController.php b/app/Controllers/authController.php
index 27a7b4ac8..2bcf4eae7 100644
--- a/app/Controllers/authController.php
+++ b/app/Controllers/authController.php
@@ -117,7 +117,7 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController {
Minz_Session::_param('POST_to_GET');
if ($isPOST) {
- $nonce = Minz_Session::param('nonce');
+ $nonce = Minz_Session::param('nonce', '');
$username = Minz_Request::param('username', '');
$challenge = Minz_Request::param('challenge', '');