diff options
author | powerivq <[email protected]> | 2022-08-31 14:52:42 -0700 |
---|---|---|
committer | powerivq <[email protected]> | 2022-08-31 14:52:42 -0700 |
commit | 96595ca4c5800b392ee73d14eaa34f4d847a5577 (patch) | |
tree | 77f2d119e1d76b52077bf073771bcffb4d24f9cd /classes/handler | |
parent | 5fea1a7ea90796ef061c7ad991265b6d28fde3fe (diff) |
Set user related sessions for single user mode
Diffstat (limited to 'classes/handler')
-rwxr-xr-x | classes/handler/public.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index ea0972f6b..5c2f2bd02 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -394,10 +394,6 @@ class Handler_Public extends Handler { if (UserHelper::authenticate($login, $password)) { $_POST["password"] = ""; - if (Config::get_schema_version() >= 120) { - $_SESSION["language"] = get_pref(Prefs::USER_LANGUAGE, $_SESSION["uid"]); - } - $_SESSION["ref_schema_version"] = Config::get_schema_version(); $_SESSION["bw_limit"] = !!clean($_POST["bw_limit"] ?? false); $_SESSION["safe_mode"] = $safe_mode; |