On registration use the browser preferred language for the new account
This commit is contained in:
parent
7aa4f5297d
commit
5cfca894c1
|
@ -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