1
1
Fork 0

On registration use the browser preferred language for the new account

This commit is contained in:
Tobias Diekershoff 2016-10-01 15:55:56 +02:00
parent 7aa4f5297d
commit 5cfca894c1

View file

@ -52,6 +52,7 @@ function register_post(&$a) {
$arr['blocked'] = $blocked;
$arr['verified'] = $verified;
$arr['language'] = get_browser_language();
$result = create_user($arr);