Support » Plugin: Clef Two-Factor Authentication » Clef probably broke the retrieve password form

  • Resolved buddybasso

    (@buddybasso)


    Hello!

    I believe that the last two versions of Clef have “broken” the lost password WP page. To be exact, the user name/e-mail input field and the submit button are now having their visibility marked as hidden (instead of visible), so that the user cannot retrieve his password anymore when he has lost it.

    I have been using Clef for six months and users have been retrieving/changing their passwords through this standard WP form normally; in fact, I had users use this functionality a couple of weeks ago, before I updgraded the Clef plugin. Today I saw there was a new Clef version; I updated it, but the issue remains.

    I thought that maybe there could be a conflict with Autoptimize’s minifications, but no, that is not the source of the problem, because I disabled the Autoptimize plugin and the issue remained.

    You can see the issue on this staging site at: https://www.autodidaktas.com.br/entrar?action=lostpassword

    Can somebody help?

    best regards,
    Giovanni

    https://wordpress.org/plugins/wpclef/

Viewing 6 replies - 1 through 6 (of 6 total)
  • for future reference; you can easily disable Autoptimize on a per-request basis by adding &ao_noptimize=1 to the URL (or ?ao_noptimize=1, if there’s no querystring yet, obviously).

    that aside; is seems the body has class login-action-, while that should be login-action-lostpassword really (in which case clef’s CSS shows the fields).

    frank (ao dev)

    Thank you, Frank, for your help! However, I still do not understand exactly the origin/source of the problem and how to fix this.

    It seems to me you have said that Clef is marking the <body> tag incorrectly with class “login-action-” instead of “login-action-lostpassword”. Based on that, I manually changed the body’s class to “login-action-lostpassword in the Chrome developer tools and, voilĂ , the form started showing corretly again.

    Therefore I guess the Clef plugin has a bug and needs to fix the class insertion for the lost password form.

    ANYBODY FROM CLEF TO HELP HERE?

    best regards,
    Giovanni

    Well, now I know Clef is the problem. I have tested the lost password screen varying the activated plugins and the result is that the lost password form breaks only when Clef is on/activated.

    Can somebody from the Clef plugin take a look at this, please?

    best regards,
    Giovanni

    BTW … I have Clef updated to 2.5.5, so the issue with the lost password form is still happening, it is a current issue.

    Plugin Contributor inthylight

    (@inthylight)

    @buddybasso, thanks for the email and posts. We’re investigating this . . . will be in touch over email.

    Plugin Contributor inthylight

    (@inthylight)

    @buddybasso, after looking at the materials you sent and loading the login script of the site in question, the issue is a compatibility issue rather than a bug. I’ve sent you an email with instructions on how to find which of the following is the cause: the theme, another plugin, or a functions.php snippet—one of these is altering the CSS on your login script page.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Clef probably broke the retrieve password form’ is closed to new replies.