• Resolved callonetech

    (@callonetech)


    Hi,

    I’m using Version 2.0.1 and believe that I found a bug that stops password reset emails from being sent by the WooCommerce or Login with AJAX plugins (probably others) unless the password is stored in plain text.

    I can easily reproduce this error by adding or removing the password entry from wp-config.php

    To the best of my knowledge every other type of email sends perfectly with the password stored in WP-config. There is something specific about the password reset email process that causes them to fail.

    The WordPress core password reset email delivers successfully, but that requires WooCommerce to be deactivated. (Because WooCommerce takes over the password reset form from WordPress core.)

    I have tested with only using your plugin and WooCommerce, or your plugin and Login with AJAX. All my tests fail unless I configure the SMTP password as plain text in the plugin’s settings.

    Please let me know if I can provide anymore information or if anyone has a fix issue for this that I missed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    this issue was reported a few times now (WooCommerce), but we can’t reproduce it on our WP test sites.

    I’ve just tested the password reset in Login with AJAX with “Other SMTP” and the password set via constants in wp-config.php and there were no issues. The password reset mail was sent and delivered just OK. I tested locally and on my test hosting site.

    I would really like to reproduce and potentially fix this issue, but I’m not sure, why it’s not reproducible for me. Are there any special AJAX options for WooCommerce that I’m not aware of? Any additional WooCommerce addons?

    When you click on the button to reset the password, does it say that the email was sent, or is there an error message?

    Can you please check your PHP error logs, if any errors are thrown when resetting the password?

    Which versions of the plugins in question are you using? Which version of WP and PHP?

    Any additional information you might have, please let us know, so we can try to replicate this problem.

    Thanks and have a nice day.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    a user was very kind and provided us with a staging site to debug this issue that we could not reproduce on our sites.

    For anyone else experiencing this issue. Please check your wp-config.php file and move the plugin’s constants code you added to the file, above the /* That's all, stop editing! Happy publishing. */ line. Like so: https://a.supportally.com/nw7JLN.

    Let us know if this resolves your issue.

    Have a nice day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Putting password in wp-config breaks password reset email’ is closed to new replies.