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.
Response getEmail()
Display the form to request a password reset link.
protected 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.
protected void resetPassword(CanResetPassword $user, string $password)
Reset the given user's password.
© 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