oauth2-server-php icon indicating copy to clipboard operation
oauth2-server-php copied to clipboard

add optional $salt parameter to \OAuth2\Storage\Pdo::hashPassword()

Open JoSSte opened this issue 5 years ago • 0 comments

There is a lot of focus on not using weakly encrypted passwords. adding an optional salt to

protected checkPassword($user, $password, $salt= '')

and

protected function hashPassword($password, $salt='')

would allow for more flexibility in the implementation

JoSSte avatar Aug 13 '19 10:08 JoSSte