UserRules::validPassword()
Validates a password
Parameters
Name | Type | Default |
---|---|---|
$user * | Kirby\Cms\User |
– |
$password * | string |
– |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the password is too short |