Reputation: 11
Where will be the right place to Log of every Signup and Signin attempt inside Sentinel?
I'm looking to store: status (succeful or not), time stamp, IP, HTTP User Agent, HTTP Accept Language.
I had think to put them inside IlluminateUserRepository.php into the functions recordLogin and create, but I'm not sure if this would be the right way.
Upvotes: 1
Views: 79
Reputation: 1387
You should use Sentinel hooks available and add listeners to your boot() method in EventServiceProvider.
Upvotes: 0