mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Convert password salt to ASCII to avoid encoding issues with PostgreSQL
This commit is contained in:
parent
baa6abdb00
commit
96ba45d896
@ -130,7 +130,7 @@ class DbUserBackend extends UserBackend
|
||||
*/
|
||||
protected function generateSalt()
|
||||
{
|
||||
return openssl_random_pseudo_bytes(64);
|
||||
return bin2hex(openssl_random_pseudo_bytes(32));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user