No video

#24 Laravel 10 Tutorial | Remember me Laravel functionality| Remember me functionality in Login Page

  Рет қаралды 6,880

Stack Developers

Stack Developers

Күн бұрын

►Laravel 10 Tutorial Playlist: • Laravel 10 Tutorial: M...
In Part-24, we will work on the "Remember me" functionality in Laravel 10. We will use Cookies to implement a RememberMe functionality for the admin login form by which we are able to store the user email and password for a longer time in the browser cache that can be accessed anytime.
It will prevent the user to fill username and password again while logging in.
1) Update login.blade.php file :-
First of all, we will add a "Remember Me" checkbox at the admin login form with the name "remember".
2) Update login function:-
Now we will update the login function at AdminController and will set cookies both for email and password when the remember post data is not empty means when the user checks at Remember Me checkbox at the admin login form.
3) Update login.blade.php file :-
Now we will update the login.blade.php file once again to show the username and password that we have stored in cookies when the user checks the "Remember Me" checkbox.
Now you can test; the "Remember Me" functionality will work fine.
►Click here to subscribe for Laravel & other updates - / stackdevelopers
Popular Stack Developers Series that can help you:-
►Laravel Multi-Vendor E-commerce Website - • Laravel Multi Vendor T...
►React JS Tutorial for Beginners with Laravel - • React JS Tutorial with...
►Laravel Tutorial for Beginners - • Laravel Tutorial for B...
►GIT Tutorial for Beginners - • Git Tutorial for Begin...
►Laravel API Tutorial - • Laravel API Tutorial |...
►Laravel Interview Questions - • Laravel Interview Ques...
►jQuery Tutorial - • jQuery Tutorial
►Laravel Basic E-commerce Series - • Make Admin Panel / E-c...
►Laravel Dating Series - • Make Dating / Social N...
►Join this channel to get the complete source code of all series:
/ @stackdevelopers
Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates - / stackdevelopers2
►Join Facebook Group to resolve your queries - / stackdevelopers
►Follow on Instagram - / stackdevelopers2
►Follow on GitHub - github.com/sta...
#laravel10 #laravel10tutorial #laravel

Пікірлер: 21
@s.narthanan7177
@s.narthanan7177 Жыл бұрын
Stack Developers, your tutorials on Laravel 10 and the 'Remember Me' functionality have been a game-changer for me. I've learned so much and implemented these features successfully in my projects. Thank you for your clear explanations and step-by-step guidance. You've made complex concepts easy to understand. Your channel is my go-to resource for all things development. Keep up the great work! 11:27 ❤
@StackDevelopers
@StackDevelopers Жыл бұрын
Thank you so much for the appreciation 😊🙏
@jayantsharma9523
@jayantsharma9523 Жыл бұрын
Thanks For The great and easy to learnable tutorial
@StackDevelopers
@StackDevelopers Жыл бұрын
Thank you so much 🙏
@kqnesky_7516
@kqnesky_7516 6 ай бұрын
Thank you
@StackDevelopers
@StackDevelopers 5 ай бұрын
Most Welcome
@muadzrosli
@muadzrosli 9 ай бұрын
The remember me functionality is to allow user directly go to authorized page without have to login using login form everytime user comes to the website/portal. Or did I misunderstand the original concept of this functionality?
@StackDevelopers
@StackDevelopers 9 ай бұрын
Yes, Remember Me functionality remembers the form fields and here in the login form it remembers the username and password fields so you are not required to fill them again while logging in.
@toeoo6973
@toeoo6973 9 ай бұрын
Or maybe you could check if the cookies are set in admin middleware and if they are set, you could Auth attempt there and provide the cookie email and password. That way, user can directly go to authorized page without having to login every time user comes to website as long as cookie isn't expired.
@Ramziddin_Rustamovv
@Ramziddin_Rustamovv 4 ай бұрын
thanks :)
@StackDevelopers
@StackDevelopers 4 ай бұрын
Welcome :)
@pandug.somantri3228
@pandug.somantri3228 11 ай бұрын
work, thanks
@StackDevelopers
@StackDevelopers 11 ай бұрын
Welcome 👍
@NoLongerStranger
@NoLongerStranger 7 ай бұрын
its not working, the email and password is not staying on the input field sir
@StackDevelopers
@StackDevelopers 7 ай бұрын
Have you tried to debug your code to identify the issue?
@sanduniruwanthika1410
@sanduniruwanthika1410 10 ай бұрын
How to use remember token in database table
@StackDevelopers
@StackDevelopers 10 ай бұрын
Why you want to store it in database table?
@fitNdedicated
@fitNdedicated 11 ай бұрын
it returns encrypted data
@StackDevelopers
@StackDevelopers 10 ай бұрын
Show me your code so that I can help resolving your issue
@Stoic_Way
@Stoic_Way Жыл бұрын
its not working
@StackDevelopers
@StackDevelopers Жыл бұрын
What issue you are facing?
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 624 М.
Bend The Impossible Bar Win $1,000
00:57
Stokes Twins
Рет қаралды 39 МЛН
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 4,8 МЛН
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 13 МЛН
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 12 МЛН
Creating Laravel Blade Component: Step-By-Step
7:39
Laravel Daily
Рет қаралды 27 М.
How to make a remember me login with Laravel
4:56
Michael Calkins
Рет қаралды 32 М.
05 - Token-based Authentication
12:52
Laravel
Рет қаралды 26 М.
Wordpress vs coding - why devs SHOULD learn Wordpress
11:03
SuperSimpleDev
Рет қаралды 300 М.
Bend The Impossible Bar Win $1,000
00:57
Stokes Twins
Рет қаралды 39 МЛН