mussol
mussol
no, just downloaded zip from GH: `wget https://github.com/ltb-project/self-service-password/archive/refs/tags/v1.4.3.zip`
oh! I see, I'll try master now to test it. sorry I missed 1.5 target.
works perfectly! thanks for your time :)
sorry to resurface this, but I'm having strange behaviour. I use two attributes: **$mail_attributes = array('personalMail', 'mail');** first one is not always present but it should be used if exists....
I don't really know about ldap functions, but the problems seems to be that it doesn'l like when one of the configured attributes returns no value, and for me it...
ok, I've found a very easy way to reproduce it, just use **description** as your other mail attribute: $mail_attributes = array('description','mail'); if both attributtes are present it works. if first...
any updates on this issue?
there was some missing parentheses here: `if ( isset ($entry[$mail_attribute] )) {` anyway, it doesn't work, I get **Mail not found for user XXX**
it works! the only thing is that if first attribute is empty I receive a warning: `PHP Warning: ldap_get_values(): Cannot get the value(s) of attribute Decoding error in /var/www/html/clautest/htdocs/sendtoken.php on...
> @muzzol empty attributes are very uncommon and should be avoided since somehow a undefined behavior, you will hit many other problems with various ldap libraries. To be on the...