Switching to new servers
-
Hi.
Just pushed an existing site, using 2FA, to a new server, and now the 2FA is not working anymore.
I have just disabled the 2FA for now, but what should match from the old setup, for the 2FA to continue to work when changing servers?
As far as i can tell, it is using the time() function wich is not dependent on timezones, and should be the same, across all servers. And i cannot see the plugin utilizing any SALTS from the wp-config.php or anything.
The only thing i can see it is using, is a define in wp-config called “WP2FA_ENCRYPT_KEY”, which is uses if present in the file, otherwise looks in the DB for the key.
But even when matching that in the wp-config, it still does not work on the new server.
Am i missing something here that you can elaborate for me?
Thank you very much.
- The topic ‘Switching to new servers’ is closed to new replies.