Closed fhederdos closed 2 years ago
The method used for replacing the marker is \Causal\IgLdapSsoAuth\Library\Authentication::mergeSimple
I'm not sure why it does not work, maybe you could debug a bit there?
I suspect this is related to some configuration of your scheduler task for "Handling of missing users" and "Handling of restored users" since users get temporarily disabled/deleted when importing.
Please see #136 for info and a fix that just got implemented.
=> closing this issue as it's really old now and there's an explanation of the very probable problem you faced (configuration).
The return value of a hook is only applied, if the mapping field is not disable: The Example Hook always returns the value 1.
The Mapping of BE_USERS is as follows:
After running the scheduler, the Database of all updated LDAP Users have the values:
Expected behavior is that the Field "disable" also receives the value 1. All Users were updated and not newly created.
reproducible in ig_ldapp_sso_auth v. 3.5.1