Fix salt extraction
This commit is contained in:
parent
99277383b9
commit
8913bf53c9
|
@ -129,7 +129,7 @@ class DbUserBackend extends UserBackend
|
|||
*/
|
||||
protected function getSalt($hash)
|
||||
{
|
||||
return substr($hash, strlen(self::HASH_ALGORITHM) + self::SALT_LENGTH);
|
||||
return substr($hash, strlen(self::HASH_ALGORITHM), self::SALT_LENGTH);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue