Merge branch 'xorg/maint' into xorg/master
authorStéphane Jacob <sj@m4x.org>
Mon, 2 May 2011 14:40:00 +0000 (16:40 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 2 May 2011 14:40:00 +0000 (16:40 +0200)
modules/register.php

index bc54a13..48d37a8 100644 (file)
@@ -373,6 +373,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.