projects
/
dotclear.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add user lang and timezone when creating the account.
[dotclear.git]
/
class.xorg.auth.php
diff --git
a/class.xorg.auth.php
b/class.xorg.auth.php
index
fd300d4
..
06def8f
100644
(file)
--- 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);
}