aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Auth.php')
-rw-r--r--app/Models/Auth.php2
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);