Bånder

UpdateUserPassword
in package
implements UpdatesUserPasswords uses PasswordValidationRules

Table of Contents

Interfaces

UpdatesUserPasswords

Methods

update()  : void
Validate and update the user's password.
passwordRules()  : array<int, Rule|array<string|int, mixed>|string>
Get the validation rules used to validate passwords.

Methods

update()

Validate and update the user's password.

public update(User $user, array<string, string> $input) : void
Parameters
$user : User
$input : array<string, string>

passwordRules()

Get the validation rules used to validate passwords.

protected passwordRules() : array<int, Rule|array<string|int, mixed>|string>
Return values
array<int, Rule|array<string|int, mixed>|string>

        
On this page

Search results