MediaWiki  master
InvalidPassword.php
Go to the documentation of this file.
1 <?php
32 class InvalidPassword extends Password {
33  public function crypt( $plaintext ) {
34  }
35 
36  public function toString() {
37  return '';
38  }
39 
40  public function equals( $other ) {
41  wfDeprecated( __METHOD__, '1.33' );
42 
43  return false;
44  }
45 
46  public function verify( $password ) {
47  return false;
48  }
49 
50  public function needsUpdate() {
51  return false;
52  }
53 }
Represents an invalid password hash.
crypt( $plaintext)
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
verify( $password)