Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Elgg
PasswordService
needsRehash
Elgg\PasswordService::needsRehash PHP Méthode
PasswordService Class Documentation
Afficher le fichier
Open project: elgg/elgg
needsRehash()
public
méthode
If the answer is true, after validating the password using password_verify, rehash it.
public
needsRehash
(
string
$hash
) :
boolean
$hash
string
The hash to test
Résultat
boolean
True if the password needs to be rehashed.
function needsRehash($hash) { return password_needs_rehash($hash, PASSWORD_DEFAULT); }
PasswordService
__construct
executeNewPasswordReset
forcePasswordReset
generateHash
needsRehash
sendNewPasswordRequest
verify