• Resolved ysiv

    (@ysiv)


    Hi,

    I’m looking to use 2FA for our users, however, we use staging sites for all updates, changes etc. and then push to production after we know everything is working OK. I am a little concerned how well this would work with the plugin.

    If I have the plugin enabled on the staging site, will it be as simple as just pushing to production and it works as expected on our live site also, or will something special need to be done in between? For example, will I need to deactivate the plugin, push to production and then enable when it is completed?

    Thanks so much ??

Viewing 1 replies (of 1 total)
  • Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Hello!

    Thank you for getting in touch with us today!

    I completely understand your concerns about migrating a site from staging to production (or vice-versa), especially when it comes to 2FA setup, which can be sensitive. To assist you with this, we have created an article that outlines all the necessary steps and key considerations when handling such migrations. You can find the detailed guide here:

    WP 2FA Migration Guide

    In summary, all WP_2FA-prefixed entries that our plugin stores in your database (both in WP_USERMETA and WP_OPTIONS tables) should remain unchanged during the migration. It’s essential to exclude these entries from any overwrites during the migration process. Additionally, ensure that the secret key stored in the wp-config.php file remains intact to keep the encryption functional.

    Following these steps should ensure the migration goes smoothly without any issues related to 2FA.

    Feel free to reach out if you need further assistance or have any other questions. I’ll be happy to help!

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