Add default URL pointing to the X.org profile of the user.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 7 Jun 2008 08:47:23 +0000 (10:47 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 7 Jun 2008 08:47:23 +0000 (10:47 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
class.xorg.auth.php

index 06def8f..08485bc 100644 (file)
@@ -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;