diff options
| author | 2023-05-03 00:37:04 +0200 | |
|---|---|---|
| committer | 2023-05-03 00:37:04 +0200 | |
| commit | 0a38aa7456ccb2875aac5dc20a6f15d3956bb93a (patch) | |
| tree | 0b116f889399fc69e371adff85576142f7e1d596 /app/Models/Auth.php | |
| parent | bd9fa803f1f0c23face77fa1bc550d1198ce5ad6 (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/Models/Auth.php')
| -rw-r--r-- | app/Models/Auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Auth.php b/app/Models/Auth.php index e868e1b4f..d048460f6 100644 --- a/app/Models/Auth.php +++ b/app/Models/Auth.php @@ -75,7 +75,7 @@ class FreshRSS_Auth { $email = null; if (FreshRSS_Context::$system_conf->http_auth_auto_register_email_field !== '' && isset($_SERVER[FreshRSS_Context::$system_conf->http_auth_auto_register_email_field])) { - $email = $_SERVER[FreshRSS_Context::$system_conf->http_auth_auto_register_email_field]; + $email = (string)$_SERVER[FreshRSS_Context::$system_conf->http_auth_auto_register_email_field]; } $language = Minz_Translate::getLanguage(null, Minz_Request::getPreferredLanguages(), FreshRSS_Context::$system_conf->language); Minz_Translate::init($language); |
