• I just updated my login page to use the TML shortcode. Strangely, it shows an error message the first time the pages loads.

    This is my shortcode: [theme-my-login action=”login”]

    In the TML settings, I change the login page slug to be “log-in” and I also checked that I didn’t have any redirects going on.

    Can you think of any reason why this would be? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    What is the error message?

    We have the same problem.

    The error message is wrong username / password

    It only happens when accessing the /login/ page the first time (e.g. use private browsing) AND using WP Super Cache.

    I worked around it for now using
    if(!defined('DONOTCACHEPAGE')) define('DONOTCACHEPAGE', true);
    at the top in the theme-my-login/includes/class-theme-my-login-form.php render_form function.
    This is of course not the most optimal workaround I guess, since it will uncache all pages where the form appears.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login form shows error message initially’ is closed to new replies.