aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers')
-rw-r--r--app/Controllers/authController.php2
-rw-r--r--app/Controllers/userController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/authController.php b/app/Controllers/authController.php
index b54953b1d..54935ab1b 100644
--- a/app/Controllers/authController.php
+++ b/app/Controllers/authController.php
@@ -75,7 +75,7 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController {
break;
case 'http_auth':
Minz_Error::error(403, array('error' => array(_t('feedback.access.denied'),
- ' [HTTP Remote-User=' . htmlspecialchars(httpAuthUser(), ENT_NOQUOTES, 'UTF-8') .
+ ' [HTTP Remote-User=' . htmlspecialchars(httpAuthUser(false), ENT_NOQUOTES, 'UTF-8') .
' ; Remote IP address=' . ($_SERVER['REMOTE_ADDR'] ?? '') . ']'
)), false);
break;
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index b44ec5d46..ed8e6cc44 100644
--- a/app/Controllers/userController.php
+++ b/app/Controllers/userController.php
@@ -212,7 +212,7 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController {
}
/** @param array<string,mixed> $userConfigOverride */
- public static function createUser(string $new_user_name, string $email, string $passwordPlain,
+ public static function createUser(string $new_user_name, ?string $email, string $passwordPlain,
array $userConfigOverride = [], bool $insertDefaultFeeds = true): bool {
$userConfig = [];