So I installed the plugin and it is awesome, but when a user who is not signed in clicks the 'Log In" under the vote count then it prompt them to the normal login + a two factor authentication below. I am afraid that the two factor authentication text box might confuse my users. When clicking the other sign in buttons on the site, the two factor text box does not appear. The Two Factor Authentication box only appears for the voting login button. I couldn’t find any settings that could be causing this. Any help would be greatly appreciated in removing the two factor authentication text box! Thanks!
Here is an image of the button that I am having the issue with and the prompt it gives
I’m digging in - Looks like there are different results of showing the login modal from the builtin login button vs the plugin’s. Two factor is being shown because it’s missing some css rules due to the different html structure. The entire login layout gets screwed up here, including social login buttons. Hang tight while I get to the bottom of this one.
It’s a start - To clarify, a showModal call by itself is fine, but the login modal specifically has a few hooks that also need to be triggered in order to display correctly. You’d get less false positives by filtering specifically on showModal('login') or showModal("login").