ResetsPasswords

trait ResetsPasswords (View source)

Traits

RedirectsUsers

Methods

string redirectPath()

Get the post register / login redirect path.

from RedirectsUsers
Response getEmail()

Display the form to request a password reset link.

Response postEmail(Request $request)

Send a reset link to the given user.

string getEmailSubject()

Get the e-mail subject line to be used for the reset link email.

Response getReset(string $token = null)

Display the password reset view for the given token.

Response postReset(Request $request)

Reset the given user's password.

void resetPassword(CanResetPassword $user, string $password)

Reset the given user's password.

Details

string redirectPath()

Get the post register / login redirect path.

Return Value

string

Response getEmail()

Display the form to request a password reset link.

Return Value

Response

Response postEmail(Request $request)

Send a reset link to the given user.

Parameters

Request $request

Return Value

Response

protected string getEmailSubject()

Get the e-mail subject line to be used for the reset link email.

Return Value

string

Response getReset(string $token = null)

Display the password reset view for the given token.

Parameters

string $token

Return Value

Response

Response postReset(Request $request)

Reset the given user's password.

Parameters

Request $request

Return Value

Response

protected void resetPassword(CanResetPassword $user, string $password)

Reset the given user's password.

Parameters

CanResetPassword $user
string $password

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Foundation/Auth/ResetsPasswords.html