mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-06-10 00:40:15 +02:00
The existing usage of crypt() was borderline incorrect. This simplified function will allow hashes of other types (e.g. bcrypt) and thus mitigate #2954 (use password_hash) until this can be implemented. The getSalt protected method was also removed as this is no longer required, though this can be added again in future.