From 6183e23d3b77eea8351569f2998fe9268a5cb868 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 7 Jun 2008 10:47:23 +0200 Subject: [PATCH] Add default URL pointing to the X.org profile of the user. Signed-off-by: Florent Bruneau --- class.xorg.auth.php | 1 + 1 file changed, 1 insertion(+) 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; -- 2.1.4