Fix salt extraction

This commit is contained in:
Johannes Meyer 2014-11-04 13:03:36 +01:00
parent 99277383b9
commit 8913bf53c9
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class DbUserBackend extends UserBackend
*/ */
protected function getSalt($hash) protected function getSalt($hash)
{ {
return substr($hash, strlen(self::HASH_ALGORITHM) + self::SALT_LENGTH); return substr($hash, strlen(self::HASH_ALGORITHM), self::SALT_LENGTH);
} }
/** /**