ResetsPasswords
trait ResetsPasswords
Traits
Methods
Display the password reset view for the given token.
Get the password reset validation rules.
Get the password reset validation error messages.
Get the response for a successful password reset.
Get the response for a failed password reset.
Get the broker to be used during password reset.
Get the guard to be used during password reset.
Details
in
RedirectsUsers at line 12
string
redirectPath()
Get the post register / login redirect path.
at line 23
Factory|View
showResetForm(Request $request, string|null $token = null)
Display the password reset view for the given token.
If no token is present, display the link request form.
at line 36
RedirectResponse
reset(Request $request)
Reset the given user's password.
at line 62
protected array
rules()
Get the password reset validation rules.
at line 76
protected array
validationErrorMessages()
Get the password reset validation error messages.
at line 87
protected array
credentials(Request $request)
Get the password reset credentials from the request.
at line 101
protected void
resetPassword(CanResetPassword $user, string $password)
Reset the given user's password.
at line 117
protected RedirectResponse
sendResetResponse(string $response)
Get the response for a successful password reset.
at line 130
protected RedirectResponse
sendResetFailedResponse(Request $request, string $response)
Get the response for a failed password reset.
at line 142
PasswordBroker
broker()
Get the broker to be used during password reset.
at line 152
protected StatefulGuard
guard()
Get the guard to be used during password reset.