Skip to content
Snippets Groups Projects
Commit 29e5c4fb authored by Kristen Pol's avatar Kristen Pol
Browse files

Issue #3314908 by ivanhelguera, urvashi_vora, apaderno, Kristen Pol, hmendes:...

Issue #3314908 by ivanhelguera, urvashi_vora, apaderno, Kristen Pol, hmendes: PasswordPolicyValidator::validatePassword() doesn't return the declared value
parent dbbf2f93
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,8 @@ interface PasswordPolicyValidatorInterface {
* @param array $edited_user_roles
* An optional array containing the edited user roles.
*
* @return \Drupal\password_policy\PasswordPolicyValidationReport
* Validation report object.
* @return \Drupal\password_policy\PasswordPolicyValidationReport|bool
* A validation report object or TRUE if the password exceeds max length.
*/
public function validatePassword(string $password, UserInterface $user, array $edited_user_roles = []): PasswordPolicyValidationReport;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment