Merge "Don't throw an exception when waiting for replication times out"
[lhc/web/wiklou.git] / includes / specialpage / LoginSignupSpecialPage.php
index d5c889a..e94f3db 100644 (file)
@@ -265,6 +265,7 @@ abstract class LoginSignupSpecialPage extends AuthManagerSpecialPage {
                         $this->getUser()->isLoggedIn()
                ) {
                        $this->successfulAction();
+                       return;
                }
 
                // If logging in and not on HTTPS, either redirect to it or offer a link.