mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
On registration use the browser preferred language for the new account
This commit is contained in:
parent
7aa4f5297d
commit
5cfca894c1
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ function register_post(&$a) {
|
|||
|
||||
$arr['blocked'] = $blocked;
|
||||
$arr['verified'] = $verified;
|
||||
$arr['language'] = get_browser_language();
|
||||
|
||||
$result = create_user($arr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue