mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
* Weekly thread #5 * Weekly thread #6 (before #5) * Weekly thread #5 * Correct the weekly thread created_at timestamps * Add actual created_at to Thread * Weekly thread #7 * Fix weekly thread #7 * Remove thread #8
11 lines
628 B
Markdown
11 lines
628 B
Markdown
---
|
||
title: 'You can track logins and logouts for auditing purposes using Laravel''s native auth events'
|
||
tweet_id: '1489620171241050112'
|
||
thread_slug: weekly-thread-2022-05
|
||
author_username: mattkingshott
|
||
images:
|
||
- 'https://pbs.twimg.com/media/FKlsjn1WQAU_Xg2.jpg'
|
||
created_at: 2022-02-04T15:21:39+00:00
|
||
slug: you-can-track-logins-and-logouts-for-auditing-purposes-using-laravels-native-auth-events
|
||
---
|
||
🔥 #Laravel Tip: Tracking logins and logouts for auditing or security purposes is incredibly easy thanks to Laravel’s login and logout events. Simply listen for them in a service provider and respond when they are fired.
|