• Hello,

    Firstly thanks for a great plugin – I use it on intranet and has always been great.

    One problem I’m having after updating to 4.3 is users get an email every time they login saying there password has been changed.

    I do use the “every time a user logs on successfully update wordpress password to that password” option. This ensures it is synced with A/D always. Have never had the email issue previous.

    Have found work arounds to disable the admin notification but not the end user. Can you comment?

    Thanks!

    https://wordpress.org/plugins/active-directory-integration/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Until the plugin is updated, add this to your theme’s functions.php file.

    add_filter( ‘send_password_change_email’, ‘__return_false’);

    Thanks DBrieck. This is very helpful.

    Thread Starter conkidd

    (@conkidd)

    Another issue is that when I set a user to disabled, their email address is updated and sends them a notification that their email address has been updated.

    I tried to apply:

    add_filter( ‘send_password_change_email’, ‘__return_false’);

    However this does not solve that issue… Any advice?

    Thanks all

    I am having this issue as well. Every time a user logs in, I receive this email:
    ———————————————–
    Hi usernamehere,

    This notice confirms that your password was changed on [name of my website].

    If you did not change your password, please contact the Site Administrator at admin@nameofmywebsite.com

    This email has been sent to [user’semail@emailaddress.com]
    Regards,
    Staff at Name of My Website
    ———————————————–

    I have added a filter to prevent the emails from sending, but I hope the developers add a fix in the plugin for this soon.

    Here is the filter:
    add_filter( ‘send_password_change_email’, ‘__return_false’);

    I have to put it into a temporary “plugin” and activate it to get it to work. The filter would not work inside my functions.php file.

    Disabling the Automatic Password Update option under the “User” tab also fixes the issue.

    Plugin Author glatze

    (@glatze)

    Thanks for your bug report. I’m working on a fix.

    Thanks, Glatze, for noting this. We’ve been having this problem too.

    Subscribing to this thread to keep an eye out for updates.

    Same issue – Subscribing too.

    Our environment doesn’t have the Automatic Password Update option activated and it’s still sending out email update confirmations. Even with the 1.1.8 update.

    The new version works for me, however if some people are still having issues you can do what I did at first was to edit the user.php file located in the wp-includes folder.
    At line 2170 you can change the section that says ‘send_password_change_email’, true, to ‘send_password_change_email’, false,
    Just a quick band aid.

    Thread Starter conkidd

    (@conkidd)

    Dbrieck – i tried your fix but it does not correct the issue.

    jcrea – i don’t want to make changes to core for obvious reasons.

    glatze – any update or proper work around on your side?

    Thanks all.

    conkidd,

    Try adding this to your theme’s functions.php:

    add_filter( 'send_password_change_email', function() { return false; });

    Thread Starter conkidd

    (@conkidd)

    Thanks macbookandrew – this appears to work! Appreciate your help here.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Email on Every Login’ is closed to new replies.