diff options
| author | 2022-01-30 15:53:17 +0100 | |
|---|---|---|
| committer | 2022-01-30 15:53:17 +0100 | |
| commit | 47e242aa77bb8583e8716023c4bcef0462891ebd (patch) | |
| tree | 05ca76b2459db75c9ae3236acbc6ec711fb5c7dd /app/Controllers/authController.php | |
| parent | 24afafb74d422bd8d7526719046253279cb7e713 (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.php | 2 |
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', ''); |
