Closed syedanees1 closed 4 years ago
Hi @syedanees1,
The AuthenticationSuccessful
event is fired here, after a user logs in successfully and is not rejected by any authentication rules you have setup:
Are any authentication logs coming up at all in your logs when a user attempts to sign in?
Hi @stevebauman The issue is solved. I was using Adap::auth()->attempt() for authenticating user but changed this to Auth::attempt() This solved my issue and now i can attach listeners and handle them as well.
Thanks.
Description:
When a user logs in an event log associated with it (I think it is AuthenticationSuccessful ) is not getting fired and I'm not getting any log in storage/logs/laravel.log.
I want to attach a listener to 'AuthenticationSuccessful' Event to import OUs and Groups into database.
However when I import through adldap:import sync attributes are imported and log is created.
Here is my ldap_auth.php
`<?php
return [
]; `