Apologies if this is intentional or there is an issue open for this (I did look), but when testing some issues we had with a search crawler user being prompted to update their email.
I noticed that the _ldap_authentication_verify_user_profile() function returns TRUE regardless of whether the regex check failed or not. This however only matters on the first page load as it is saved in $_SESSION and that is what is returned the next time the function runs.
Simple 1 line patch to fix the issue, I'm also having strange regex issues with the matching (hence how I found this issue) and will report that too in a separate issue if it turns out to be a bug.
Patch to follow.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2297713-ldap-auth-mail-verify.patch | 717 bytes | acbramley |
Comments
Comment #1
acbramley commentedHere it is :)
Comment #2
grahlComment #3
grahlComment #4
grahlThanks!
No change in 8.x required.
Comment #6
grahl