Загрузка...

Laravel 9 Tutorial #114 | Forgot Password Functionality | Send New Password to User via Email

In Part 114 of the Laravel 9 Tutorial to create a Multi-Vendor E-commerce Website in Laravel 9, we will work on Forgot Password functionality. This feature is for those users who forget the password of their registered account. We are going to create Forgot Password form in which the user will enter his email to get a new password in his registered email.

1) Update login_register.blade.php :-
First of all, we will add a "Forgot Password" link under the login form at the login_register.blade.php file that the user can click to recover his password.

2) Create Route :-
Create Get/POST Route for forgot-password in web.php file like below:-
// User Forgot Password
Route::any('user/forgot-password','UserController@forgotPassword');

3) Create forgotPassword function :-
Now create forgotPassword function at UserController that will return to forgot_password.blade.php file.

4) Create forgot_password.blade.php :-
Now create forgot_password.blade.php file under /resources/views/front/users/ folder and create forgot password form with email field that user will fill to get his new password on his email.

5) Update custom.js file :-
Add jquery function for forgot password in custom.js file

6) Update forgotPassword function :-

7) Create forgot_user_password.blade.php
Now create forgot_password.blade.php file under resources/views/emails folder same like register.blade.php file located there and make required changes to create an email template.

►Laravel 9 Tutorial (Create Multi-Vendor E-commerce Website) - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ

►Laravel 9 Playlist - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYVb9lco6OnloSFyBLZU3tz

►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers

Popular Stack Developers Series that can help you:-

►Laravel Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZaHaFmydqjcQ-YyeQ19Cd6u

►GIT Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZVQ-dLOMFWvmCCduzJ8c6R

►Laravel API Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbcCsd4yAAiBU2L3ROREk8P

►Laravel Interview Questions - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbzB_1Jdp_yFcORwOfWP8RU

►jQuery Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbMYoUA46GIonOH29KcjtxA

►Laravel Basic E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZY5drPxIWzpq5crhantlzp7

►Laravel Dating Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZrPUnxjlomErJfNvkyS6Hf

►Join this channel to get the complete source code of all series:
https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join

Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates - http://facebook.com/stackdevelopers2/
►Join Facebook Group to resolve your queries - http://facebook.com/groups/stackdevelopers
►Follow on Instagram - https://www.instagram.com/stackdevelopers2/
►Follow on GitHub - https://github.com/stackdevelopers

#laravel9 #laravel9tutorial #laravel

Видео Laravel 9 Tutorial #114 | Forgot Password Functionality | Send New Password to User via Email канала Stack Developers
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять