• Resolved funnelbud

    (@funnelbud)


    Hello there,

    we experiencing some problems with the login page. We have 2FA activated. So, once login+password was entered we land on 2FA screen where 2FA code must be entered. But there is no form on the page. If we dig into the code, it has a CSS style that makes form invisible(display: none). However, it used to work fine before. It happened after some update. Can’t remember which one.

    This is how it looks in a browser https://drive.google.com/file/d/1C9tHuwRxaf9TMB6RH6rZvKFx2U9Q7CVx/view?usp=drivesdk

    Also, we have a staging website where is version 2.5.7 of Defender PRO installed. It works OK there.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @funnelbud

    I hope you’re well today!

    On the animation that you shared, I see that you are entering some code to the field and then submit it. That field is expected, as it should be. If the code was correct, you should be immediately logged-in to the site.

    The code that you are entering seems to be invalid (just a random tekst) so that wouldn’t let you in. If I correctly understand, the issue here is that it shows that “empty page” instead of error message and code form again, right?

    If this worked before and stopped after some updates, please start with this:

    – if there’s any cache on site or server, do clear it fully and test after that
    – if you are using any asset (JS/CSS) optimization plugin, disable it temporarily and see if that changes anything

    It’s also possible that after update some sort of a conflict started to happen so if above doesn’t help, please try full conflict test by following these steps:

    1. disable all the plugins (except Defender)
    2. switch theme to Twenty Twenty-Two
    3. clear all cache on server (if there is any) and test login to see if it works again

    If it starts to work, then

    4. switch your original theme back and test again; if still works
    5. start enabling your plugins back one by one, after each one testing 2FA; at some point it should stop working and the last enabled plugin would be the culprit here;

    Let us know about such test results and we’ll see then what to do next to get this fixed.

    Best regards,
    Adam

    Thread Starter funnelbud

    (@funnelbud)

    Thanks, Adam.

    Just to be clear, there are no fields on that page unless I open the console and remove display: none from the code. It was done to visualize that the form is in the code but hidden.

    I’ll try what you recommended. I’ll let you know about the results.

    Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @funnelbud

    Thanks for explanation!

    I was confused by the fact that on the image there actually is the field. But even then, please still follow the steps that I suggested.

    The fact that this field is hidden with “none” property means that either it’s either “injected” (the “display:none”) by some other code on site or it’s not removed correctly when should be – and both these cases would usually be due to some assets or plugin conflicts.

    If you could, please, try those steps and update us on results, it would be very helpful.

    Best regards,
    Adam

    Hello @funnelbud

    I trust you’re doing well!

    Please over over the source link to see where the CSS code is coming from. See this screenshot. Let us know what you will find.

    And as Adam has noted, it might be a conflict with another plugin. Try first deactivating a cache plugin, and see if it is causing it.

    Kind regards,
    Nastia

    Thread Starter funnelbud

    (@funnelbud)

    Hello Nastia,

    this CSS file is a part of the plugin. Here is the path /wp-content/plugins/wp-defender/assets/css/, the console.

    Thank you for the help 🙂

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @funnelbud

    Thank you for the update,

    I can confirm there is a display none in that CSS indeed and I can see it happens to toggle the default form and opt form.

    So if the JS script is not showing the correct form it could indicate a plugin or theme conflict as Adam said, had you made the plugin/theme conflict test?

    Best Regards
    Patrick Freitas

    Thread Starter funnelbud

    (@funnelbud)

    Yeah, it is some sort of conflict with our theme that appeared after we upgraded from version 2.5.7

    Thank you, all.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘2FA form set to display: none’ is closed to new replies.