Index: trunk/phase3/includes/User.php |
— | — | @@ -2780,15 +2780,6 @@ |
2781 | 2781 | global $wgAuth; |
2782 | 2782 | $this->load(); |
2783 | 2783 | |
2784 | | - // Even though we stop people from creating passwords that |
2785 | | - // are shorter than this, doesn't mean people wont be able |
2786 | | - // to. Certain authentication plugins do NOT want to save |
2787 | | - // domain passwords in a mysql database, so we should |
2788 | | - // check this (incase $wgAuth->strict() is false). |
2789 | | - if( !$this->isValidPassword( $password ) ) { |
2790 | | - return false; |
2791 | | - } |
2792 | | - |
2793 | 2784 | if( $wgAuth->authenticate( $this->getName(), $password ) ) { |
2794 | 2785 | return true; |
2795 | 2786 | } elseif( $wgAuth->strict() ) { |