Let's Learn AdonisJS 6: Ep 7.3 - Logging Out An Authenticated User

Опубликовано: 22 Январь 2025
на канале: Adocasts
244
5

Learn how to logout/logoff an authenticated user

👍 If You Enjoy This Video, Consider Hitting The Like Button!

👨‍💻 Series Source Code: https://github.com/adocasts/lets-lear...

🥁 Subscribe To Stay Notified For New Videos: https://www.youtube.com/adocasts?sub_...

Subscribe to Adocasts Plus to gain access to all our lessons and more!
https://adocasts.com/pricing

In this lesson, we'll learn how to logout an authenticated user using a POST request with CSRF protection.

⏰ Timestamps
00:00 - Creating Our Logout Route and Controller
01:00 - Logging Out A User
01:35 - Adding A Logout Form
02:05 - Testing Our Logout

------------------------- Socials --------------------------

Website: https://adocasts.com
Threads: https://threads.net/@adocasts
Twitter:   / adocasts  
GitHub: https://github.com/adocasts