We must set the best_domain on registration.
authorStéphane Jacob <sj@m4x.org>
Tue, 26 Apr 2011 20:14:03 +0000 (22:14 +0200)
committerStéphane Jacob <sj@m4x.org>
Tue, 26 Apr 2011 20:14:03 +0000 (22:14 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/register.php

index e2f029c..787106a 100644 (file)
@@ -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.