The first time when the user is logged in is the time when he registered. So go to EventServiceProvider and add an additional listener to the Registered event.
Jul 2, 2021
3
Level 5
Detecting first time login of API only using Sanctum
Im building a API only system with Laravel Sanctum. When a user logs in for the first time, I want the response to reflect this.
Has anyone implemented this? What would be the best way of doing it?
Please or to participate in this conversation.