UpdateUserPassword
in package
implements
UpdatesUserPasswords
Uses
PasswordValidationRules
Interfaces, Classes, Traits and Enums
- UpdatesUserPasswords
Table of Contents
- update() : void
- Validate and update the user's password.
- passwordRules() : array<string|int, mixed>
- Get the validation rules used to validate passwords.
Methods
update()
Validate and update the user's password.
public
update(mixed $user, array<string|int, mixed> $input) : void
Parameters
- $user : mixed
- $input : array<string|int, mixed>
Return values
void —passwordRules()
Get the validation rules used to validate passwords.
protected
passwordRules() : array<string|int, mixed>