mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
Fix unsafe login (#6797)
fix https://github.com/FreshRSS/FreshRSS/issues/6796
This commit is contained in:
committed by
GitHub
parent
e5320759eb
commit
d1f1e42c2b
@@ -187,8 +187,8 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController {
|
||||
Minz_Request::forward(['c' => 'auth', 'a' => 'login'], false);
|
||||
}
|
||||
} elseif (FreshRSS_Context::systemConf()->unsafe_autologin_enabled) {
|
||||
$username = Minz_Request::paramString('u');
|
||||
$password = Minz_Request::paramString('p');
|
||||
$username = Minz_Request::paramString('u', specialchars: true);
|
||||
$password = Minz_Request::paramString('p', specialchars: true);
|
||||
Minz_Request::_param('p');
|
||||
|
||||
if ($username === '') {
|
||||
|
||||
Reference in New Issue
Block a user