mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
Fix salt extraction
This commit is contained in:
parent
99277383b9
commit
8913bf53c9
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user