Index: trunk/phase3/includes/extauth/vB.php |
— | — | @@ -76,6 +76,8 @@ |
77 | 77 | public function getName() { return $this->mRow->username; } |
78 | 78 | |
79 | 79 | public function authenticate( $password ) { |
| 80 | + # vBulletin seemingly strips whitespace from passwords |
| 81 | + $password = trim( $password ); |
80 | 82 | return $this->mRow->password == md5( md5( $password ) |
81 | 83 | . $this->mRow->salt ); |
82 | 84 | } |