From: Stéphane Jacob Date: Tue, 26 Apr 2011 20:14:03 +0000 (+0200) Subject: We must set the best_domain on registration. X-Git-Tag: xorg/1.1.1~37^2 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f25e42ebe81a8549b744861630f700ca39bcfc7d;p=platal.git We must set the best_domain on registration. Signed-off-by: Stéphane Jacob --- diff --git a/modules/register.php b/modules/register.php index e2f029c..787106a 100644 --- a/modules/register.php +++ b/modules/register.php @@ -368,6 +368,7 @@ class RegisterModule extends PLModule $user = User::getSilentWithUID($uid); $redirect = new Redirect($user); $redirect->add_email($email); + fix_bestalias($user); // Try to start a session (so the user don't have to log in); we will use // the password available in Post:: to authenticate the user.