-
- Téléchargements
Standardize usage of **password** hash function
As preparation for introduction of a stronger hash function in https://github.com/piwik/piwik/issues/5728, this standardizes the usage of the current **password** hash function across the Login and UsersManager plugins. Specifically: * Use UsersManager::getPasswordHash() throughout, instead of previous direct use of md5() in some places * Concentrate the hash length sanity check in the newly created UsersManager::checkPasswordHash(). Previously, UsersManager\Auth and Login\PasswordResetter classes did it separately. Both checks were moved into the newly created UsersManager class function, as that is also where other public static password check functions reside. * Replaced the "md5" string with "hash" in affected variable names and comments No functional change is intended.
parent
b0487d39
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- plugins/Login/Auth.php 10 ajouts, 11 suppressionsplugins/Login/Auth.php
- plugins/Login/Controller.php 2 ajouts, 1 suppressionplugins/Login/Controller.php
- plugins/Login/PasswordResetter.php 5 ajouts, 7 suppressionsplugins/Login/PasswordResetter.php
- plugins/UsersManager/API.php 6 ajouts, 9 suppressionsplugins/UsersManager/API.php
- plugins/UsersManager/UsersManager.php 14 ajouts, 0 suppressionplugins/UsersManager/UsersManager.php
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter