Please enable JavaScript to view this site.

Process Designer

Navigation: PHP API > Other functions

Verify user password (verifyPassword)

Scroll Prev Top Next More

This function allows you to verify a user password using a password hash.

Parameter

Type

Description

$password

string

user password

$hash

string

Password hash

This function returns true or false, depending on the result of the user password verification using the password hash.

Example:

$password = $this->getTableValue('PASSWORD');

$hash = $this->getTableValue('PASSWORD_HASH');

$isValid = $this->verifyPassword($password, $hash);