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.

CommentFileSizeAuthor
#1 2297713-ldap-auth-mail-verify.patch717 bytesacbramley

Comments

acbramley’s picture

Status: Active » Needs review
StatusFileSize
new717 bytes

Here it is :)

grahl’s picture

Status: Needs review » Needs work
grahl’s picture

Status: Needs work » Needs review
grahl’s picture

Status: Needs review » Fixed

Thanks!

No change in 8.x required.

  • grahl committed b86957d on 7.x-2.x authored by acbramley
    Issue #2297713 by acbramley: _ldap_authentication_verify_user_profile()...
grahl’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.