From: Tobias Diekershoff Date: Sat, 1 Oct 2016 13:57:37 +0000 (+0200) Subject: don't save browser selected language on login X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aba8313b210499440eb2237baa42a503ad4d4cc3;p=friendica.git don't save browser selected language on login --- diff --git a/include/security.php b/include/security.php index 2d6db95f4f..b52ddeb2df 100644 --- a/include/security.php +++ b/include/security.php @@ -79,11 +79,9 @@ function authenticate_success($user_record, $login_initial = false, $interactive header('X-Account-Management-Status: active; name="' . $a->user['username'] . '"; id="' . $a->user['nickname'] .'"'); if($login_initial || $login_refresh) { - $l = get_browser_language(); - q("UPDATE `user` SET `login_date` = '%s', `language` = '%s' WHERE `uid` = %d", + q("UPDATE `user` SET `login_date` = '%s' WHERE `uid` = %d", dbesc(datetime_convert()), - dbesc($l), intval($_SESSION['uid']) );