Bugfix: When cookies are disabled, don't show login screen twice
authorJens Frank <jeluf@users.mediawiki.org>
Sun, 15 Aug 2004 20:00:14 +0000 (20:00 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Sun, 15 Aug 2004 20:00:14 +0000 (20:00 +0000)
includes/SpecialUserlogin.php

index 46cb279..97814b6 100644 (file)
@@ -50,6 +50,7 @@ class LoginForm {
        function execute() {
                if ( !is_null( $this->mCookieCheck ) ) {
                        $this->onCookieRedirectCheck( $this->mCookieCheck );
+                       return;
                } else if( $this->mPosted ) {
                        if( $this->mCreateaccount ) {
                                return $this->addNewAccount();