UserInterface::checkExistingPassword

public UserInterface::checkExistingPassword(UserInterface $account_unchanged)

Checks the existing password if set.

Parameters

\Drupal\user\UserInterface $account_unchanged: The unchanged user entity to compare against.

Return value

bool TRUE if the correct existing password was provided.

See also

UserInterface::setExistingPassword()

File

core/modules/user/src/UserInterface.php, line 185

Class

UserInterface
Provides an interface defining a user entity.

Namespace

Drupal\user

Code

public function checkExistingPassword(UserInterface $account_unchanged);
doc_Drupal
2016-10-29 09:52:34
Comments
Leave a Comment

Please login to continue.