• Resolved akempkens

    (@akempkens)


    Hi,

    I keep on having java script errors on the login page. The result is that I get failures that the one time password is not sent correctly.

    Fun fact, as soon as I deactivate two factor via terminal, log in and then logoff again. It works nice as it should.

    How can I check the error logs of javascript? May be I can find out more to help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi,

    I don’t have an iPad, but, Googling “safari ipad open javascript console” brings up several guides, so, I’d recommend trying whichever looks most appropriate to you (iPad version, etc.).

    Does the problem *only* occur on iPad? If so, then try disabling any and all browser extensions that you have.

    If that doesn’t work, then try temporarily deactivating all your other plugins, refresh the page, and see then if you can login. If you can, re-activate them in groups to work out where the problem is.

    Fun fact, as soon as I deactivate two factor via terminal, log in and then logoff again. It works nice as it should.

    That’s because normal WP login doesn’t need JavaScript – if a plugin or theme breaks JavaScript you can still login. But TFA needs JavaScript because it adds interactivity to the process (looking up whether the user needs TFA or not).

    David

    Thread Starter akempkens

    (@akempkens)

    Hi David,

    Does the problem *only* occur on iPad? If so, then try disabling any and all browser extensions that you have.

    I’m not sure I had this on the computer with Safari as well, as far as I remember. However I can’t reproduce it atm.

    That’s because normal WP login doesn’t need JavaScript – if a plugin or theme breaks JavaScript you can still login. But TFA needs JavaScript because it adds interactivity to the process (looking up whether the user needs TFA or not).

    Sounds logical to me. I try to keep monitoring this. May be I find a simple way to check the code and see what is broken. I just checked on the computer and can’t reproduce it at all.

    May be it is also related to some updates that happened recently and automatically.

    Thx for the fast response

    Alex

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.