Pick sane default registration language

Instead of defaulting to Català (which is the first entry in the list of
supported languages), choose whatever language the unregistered user is
browsing the AUR in.

Fixes FS#34825.

Suggested-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2013-08-27 02:40:01 +02:00
parent 69b98efa35
commit 7c8e86010d

View file

@ -113,7 +113,7 @@ if (isset($_COOKIE["AURSID"])) {
# display the account request form
#
print __("Use this form to create an account.");
display_account_form("", "NewAccount");
display_account_form("", "NewAccount", "", "", "", "", "", "", "", $LANG);
}
}