summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
authorpowerivq <[email protected]>2022-08-31 14:52:42 -0700
committerpowerivq <[email protected]>2022-08-31 14:52:42 -0700
commit96595ca4c5800b392ee73d14eaa34f4d847a5577 (patch)
tree77f2d119e1d76b52077bf073771bcffb4d24f9cd /classes/handler/public.php
parent5fea1a7ea90796ef061c7ad991265b6d28fde3fe (diff)
Set user related sessions for single user mode
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-xclasses/handler/public.php4
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;