From: Florent Bruneau Date: Tue, 3 Jun 2008 21:20:05 +0000 (+0200) Subject: Add user lang and timezone when creating the account. X-Git-Url: http://git.polytechnique.org/?p=dotclear.git;a=commitdiff_plain;h=7845399c3d95429d0f02240391f2992973f27a6e Add user lang and timezone when creating the account. Signed-off-by: Florent Bruneau --- diff --git a/class.xorg.auth.php b/class.xorg.auth.php index fd300d4..06def8f 100644 --- a/class.xorg.auth.php +++ b/class.xorg.auth.php @@ -57,6 +57,8 @@ class xorgAuth extends dcAuth { $defaults = $core->userDefaults(); $defaults['post_xorg_perms'] = 'public'; $cur->user_options = $defaults; + $cur->user_lang = 'fr'; + $cur->user_tz = 'Europe/Paris'; $cur->user_default_blog = $_SERVER['DC_BLOG_ID']; $core->addUser($cur); }