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. |
||
---|---|---|
.. | ||
User | ||
UserGroup | ||
AdmissionLoader.php | ||
Auth.php | ||
AuthChain.php | ||
Authenticatable.php | ||
Role.php |