Resetting Passwords

Resetting Passwords Introduction Database Considerations Routing Views After Resetting Passwords Customization Introduction Want to get started fast? Just run php artisan make:auth in a fresh Laravel application and navigate your browser to http://your-app.dev/register or any other URL that is assigned to your application. This single command will take care of scaffolding your entire authentication system, including resetting passwords! Most web applications provide a way for users to reset

ResetsPasswords::showResetForm()

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. Parameters Request $request string|null $token Return Value Factory|View

ResetsPasswords::reset()

Response reset(Request $request) Reset the given user's password. Parameters Request $request Return Value Response

ResetsPasswords::redirectPath()

string redirectPath() Get the post register / login redirect path. Return Value string

ResetsPasswords::broker()

PasswordBroker broker() Get the broker to be used during password reset. Return Value PasswordBroker

ResetsPasswords

ResetsPasswords trait ResetsPasswords (View source) Traits RedirectsUsers

ResetPassword::__wakeup()

void __wakeup() Restore the model after serialization. Return Value void

ResetPassword::__sleep()

array __sleep() Prepare the instance for serialization. Return Value array

ResetPassword::__construct()

void __construct(string $token) Create a notification instance. Parameters string $token Return Value void

ResetPassword::via()

array|string via(mixed $notifiable) Get the notification's channels. Parameters mixed $notifiable Return Value array|string