mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-10-24 12:26:05 +02:00
Rename method 'updatePassword' to 'updatePasswordInternal'
This commit is contained in:
@@ -189,7 +189,7 @@ abstract class UserManager {
|
||||
* @param string $newPassword the new password
|
||||
* @throws AuthError if an internal problem occurred (do *not* catch)
|
||||
*/
|
||||
protected function updatePassword($userId, $newPassword) {
|
||||
protected function updatePasswordInternal($userId, $newPassword) {
|
||||
$newPassword = \password_hash($newPassword, \PASSWORD_DEFAULT);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user