aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/authController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-09-15 12:00:46 +0200
committerGravatar GitHub <noreply@github.com> 2024-09-15 12:00:46 +0200
commit469a42d9c3dedaf2817ba6ffec2f0945f83e63c0 (patch)
treec2275d5044f8295064e2b6f8b219b537eebe73e0 /app/Controllers/authController.php
parent34d933d43c25f141da900c6be9531419859a4652 (diff)
Rename param specialchars to plaintext (#6809)
https://github.com/FreshRSS/FreshRSS/pull/6800#discussion_r1756435762
Diffstat (limited to 'app/Controllers/authController.php')
-rw-r--r--app/Controllers/authController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/authController.php b/app/Controllers/authController.php
index e97f09bc2..ed021505d 100644
--- a/app/Controllers/authController.php
+++ b/app/Controllers/authController.php
@@ -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', specialchars: true);
- $password = Minz_Request::paramString('p', specialchars: true);
+ $username = Minz_Request::paramString('u', plaintext: true);
+ $password = Minz_Request::paramString('p', plaintext: true);
Minz_Request::_param('p');
if ($username === '') {