• Resolved Daniel

    (@skylayer)


    Hello,

    sorry to bother you again on the same day. So right now it seems that the password setup link for new users is rendered invalid because WordPress itself sends another email with another setup link (I think that’s the reason). Do you have any recommendations to prevent this from happening?

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Yeah, disable the default WP email. This is the only way because the password reset link is generated upon sending. So WP probably overwrites the hash with a new one.

    Good news is that we have this feature already implemented in the plugin and we’ll release version 6.1.0 very very soon.

    Thread Starter Daniel

    (@skylayer)

    Okay great, any recommendation from your side on how to achieve this in the most compatible way until you release the update?

    Thanks again!

    Plugin Author Kuba Mikita

    (@kubitomakita)

    I think you could do:

    remove_action( 'register_new_user', 'wp_send_new_user_notifications' );
    remove_action( 'edit_user_created_user', 'wp_send_new_user_notifications' );
    remove_action( 'network_site_new_created_user', 'wp_send_new_user_notifications' );
    remove_action( 'network_site_users_created_user', 'wp_send_new_user_notifications' );
    remove_action( 'network_user_new_created_user', 'wp_send_new_user_notifications' );

    This is how we did it in the development version

    Thread Starter Daniel

    (@skylayer)

    Awesome thanks!

    Last question (hopefully), under which circumstances does the plugin strip HTML from the message area?

    Plugin Author Kuba Mikita

    (@kubitomakita)

    It stips it when you enable that option in the settings ??

    But if you see the textarea in the email, the HTML will be stripped upon saving. It’s a glitch, also fixed in the dev version

    Thread Starter Daniel

    (@skylayer)

    Okay great, then I’ll just wait for the update. Or is there any chance to test the dev version?

    Thanks

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Well, it is ?? You can download from here: https://brkts.com/notification-dev

    It’s built on every commit to develop so package refreshes automatically

    Thread Starter Daniel

    (@skylayer)

    Fantastic, do you have an open channel or something I could join? I’d love to give detailed feedback and help you guys develop. I have so many use cases.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Unfortunately we don’t but ideas are very welcome! The best directly via Github issues – it’s easier to keep track of everything

    Thread Starter Daniel

    (@skylayer)

    Ahh man, okay, so the dev version didn’t fix the issue. I still can’t paste my HTML template without it being stripped. Should I open a GitHub issue?

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Hmm, please do, I’ll update you after verification & fix

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘User Password Setup Link Duplication’ is closed to new replies.