# Forgot Password | Soft UI Dashboard Bootstrap @ Creative Tim
A free Laravel Dashboard featuring dozens of UI components & basic Laravel CRUDs.
Author: Creative Tim
Keywords: creative tim, updivision, html dashboard, laravel, html css dashboard laravel, soft ui dashboard laravel, laravel soft ui dashboard, soft ui admin, laravel dashboard, laravel admin, web dashboard, bootstrap 5 dashboard laravel, bootstrap 5, css3 dashboard, bootstrap 5 admin laravel, soft ui dashboard bootstrap 5 laravel, frontend, responsive bootstrap 5 dashboard, soft ui dashboard, soft ui laravel bootstrap 5 dashboard

# Forgot Password

If an existing user forgot his password he has the possibility of resetting his password.

In the case of an user forgetting the credentials there is the possibility of resetting them. For resetting the password the user should use the Forgot password? button from the login page. The user must provide the email for the account and after that a link will be sent for resetting the password to the provided mail address.

The `App/Http/Controllers/ResetController.php` takes care of sending an email to the user where he can reset the password afterwards.

Copy

                    public function sendEmail(Request $request)
                    {
                        $request->validate(['email' => 'required|email']);

                        $status = Password::sendResetLink(
                            $request->only('email')
                        );

                        return $status === Password::RESET_LINK_SENT
                                    ? back()->with(['status' => __($status)])
                                    : back()->withErrors(['email' => __($status)]);
                    }