julien731 / AuthPress

Add 2-factor authentication to your WordPress blog site.
https://wordpress.org/plugins/wp-google-authenticator/
GNU General Public License v3.0
16 stars 11 forks source link

Unable to login across multisite blogs #38

Open orenwolf opened 4 years ago

orenwolf commented 4 years ago

So, after enabling this plugin network-wide on a multisite installation, I ran into several issues.

The first was that the TOTP field wasn't being added to the login page. From what I could tell, this was because wpga_options hadn't been propagated to the child blogs. This resulted in a request to please fill in my TOTP even though it was impossible to do so.

I was able to correct this by copying over the serialized data from the main blog to each of the options tables for the children blogs.

However! While this solved the problem of the login page not appearing on the child blogs, this did not solve the problem of being told I need to provide my TOTP on every login. :(

I wonder if the issue is that I have a TOTP on the main blog, but it isn't propagated to the child blogs either?