aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/userController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-05-03 00:37:04 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-03 00:37:04 +0200
commit0a38aa7456ccb2875aac5dc20a6f15d3956bb93a (patch)
tree0b116f889399fc69e371adff85576142f7e1d596 /app/Controllers/userController.php
parentbd9fa803f1f0c23face77fa1bc550d1198ce5ad6 (diff)
Automatic trusted_sources during install (#5358)
* Automatic trusted_sources during install Fix https://github.com/FreshRSS/FreshRSS/issues/5357 * Fix install for http_auth * Update lib/lib_rss.php Co-authored-by: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> * Fill null exception e-mail * Revert some syntax * Minor parentheses
Diffstat (limited to 'app/Controllers/userController.php')
-rw-r--r--app/Controllers/userController.php2
1 files changed, 1 insertions, 1 deletions
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 = [];