I'm trying to make their authentication with LDAP.
But when user login, It tries to recreate It's record if 'username' and 'objecthuid' columns are empty. But there's still a user with same e-mail address, so that singularity validation returns error "there's still a record with that email address."
I want to work with LDAP like;
"If email exist, then login and update. If not exist so create new record."
Laravel Version: 8 Adldap2-Laravel Version: 6.1 PHP Version: 7.4
I have users table.
I'm trying to make their authentication with LDAP. But when user login, It tries to recreate It's record if 'username' and 'objecthuid' columns are empty. But there's still a user with same e-mail address, so that singularity validation returns error "there's still a record with that email address."
I want to work with LDAP like; "If email exist, then login and update. If not exist so create new record."