diff options
author | zottel <github@zottel.net> | 2012-05-14 13:59:37 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-05-14 13:59:37 +0200 |
commit | 584b15aaecbf6f58cda2031908f0319c6dfc0700 (patch) | |
tree | 0b56a9e4de6c38a052878f2a5c18a05dae15c57c /include/security.php | |
parent | c43a03e21bcd12b24be8a59741ec6591c1f651d7 (diff) | |
parent | 59aefd9346fbd0d5c3cd9cdbf2158719221412f9 (diff) | |
download | volse-hubzilla-584b15aaecbf6f58cda2031908f0319c6dfc0700.tar.gz volse-hubzilla-584b15aaecbf6f58cda2031908f0319c6dfc0700.tar.bz2 volse-hubzilla-584b15aaecbf6f58cda2031908f0319c6dfc0700.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/security.php')
-rwxr-xr-x | include/security.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/security.php b/include/security.php index a92400b5c..af201d2af 100755 --- a/include/security.php +++ b/include/security.php @@ -76,7 +76,7 @@ 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) { - $l = get_language(); + $l = get_browser_language(); q("UPDATE `user` SET `login_date` = '%s', `language` = '%s' WHERE `uid` = %d LIMIT 1", dbesc(datetime_convert()), |