Fix ctype_alnum (#4182)

* Fix ctype_alnum
#fix https://github.com/FreshRSS/FreshRSS/issues/4180
Ensure `ctype_alnum()` gets a string

* Changelog
This commit is contained in:
Alexandre Alapetite authored and GitHub committed 2022-01-30 15:53:17 +01:00
1 parent 24afafb74d
commit 47e242aa77
6 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -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', '');