From: Florent Bruneau Date: Sat, 7 Jun 2008 08:47:23 +0000 (+0200) Subject: Add default URL pointing to the X.org profile of the user. X-Git-Url: http://git.polytechnique.org/?p=dotclear.git;a=commitdiff_plain;h=6183e23d3b77eea8351569f2998fe9268a5cb868 Add default URL pointing to the X.org profile of the user. Signed-off-by: Florent Bruneau --- diff --git a/class.xorg.auth.php b/class.xorg.auth.php index 06def8f..08485bc 100644 --- a/class.xorg.auth.php +++ b/class.xorg.auth.php @@ -54,6 +54,7 @@ class xorgAuth extends dcAuth { $cur->user_firstname = $_SESSION['auth-xorg-prenom']; $cur->user_displayname = $cur->user_firstname . ' ' . $cur->user_name; $cur->user_email = $_SESSION['auth-xorg'] . '@polytechnique.org'; + $cur->user_url = 'https://www.polytechnique.org/profile/' . $_SESSION['auth-xorg']; $defaults = $core->userDefaults(); $defaults['post_xorg_perms'] = 'public'; $cur->user_options = $defaults;