Fix #1585 : incorrect title on post-login redirection page.
authorAntoine Musso <hashar@users.mediawiki.org>
Fri, 4 Mar 2005 13:18:57 +0000 (13:18 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Fri, 4 Mar 2005 13:18:57 +0000 (13:18 +0000)
includes/SpecialUserlogin.php

index 50407ee..a801e64 100644 (file)
@@ -76,7 +76,7 @@ class LoginForm {
                                return $this->addNewAccountMailPassword();
                        } else if ( $this->mMailmypassword ) {
                                return $this->mailPassword();
-                       } else if ( ( 'submit' == $this->mAction ) || $this->mLoginattempt ) {
+                       } else if ( ( 'submitlogin' == $this->mAction ) || $this->mLoginattempt ) {
                                return $this->processLogin();
                        }
                }
@@ -493,7 +493,7 @@ class LoginForm {
                        }
                }
 
-               $q = 'action=submit';
+               $q = 'action=submitlogin';
                if ( !empty( $this->mReturnto ) ) {
                        $q .= '&returnto=' . wfUrlencode( $this->mReturnto );
                }