• Resolved chelminski

    (@chelminski)


    Hi ;)!

    How can I enable 2FA (mail) for a given user using mysql command? I am using the 2FA addon.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Peter

    (@petersquirrly)

    ??Hi,

    Thank you for your question!

    At the moment the 2FA is added to the login page for all users regardless the role.

    However, that’s a great idea and I’ll share it with our product team so they can look into it for future updates.

    In the meantime, please feel free to add it to our roadmap at https://squirrly.feedbear.com/roadmap, so other users can also vote on it!

    Thread Starter chelminski

    (@chelminski)

    So how is information about which user has 2FA active stored? I have activated it manually for several users. Information about this is not stored in the database?

    Plugin Support Peter

    (@petersquirrly)

    I’m not quite sure that I understand, as the 2FA is enabled for the whole login page, which is applied to all users, not for a part of them.

    Can you give me some more details about “I have activated it manually for several users”?

    Thread Starter chelminski

    (@chelminski)

    I apologize for everything in the screenshots being in Polish. I don’t know if we understand each other correctly. 2FA is not active for every user of the site. If I want a user to have 2FA, I activate it from their account.

    I’m talking about this feature specifically:

    If I want to activate 2FA for someone, I go to my WordPress profile and activate the feature.

    I would like to automate the process so that users can have 2FA enabled automatically if they meet certain conditions (e.g. they have access to sensitive data), or if they have activated this feature on other platforms (the data they use to log in to the website is also used to log in to the game server, etc.). I would like to integrate this, but I don’t know how the data is stored in the database.

    Plugin Support Peter

    (@petersquirrly)

    My apologies for the confusion, it looks like this was a new addition which I wasn’t aware of.

    So to confirm, yes it’s indeed possible to set 2FA for individual emails.

    As for what you wish to achieve, I’ve talked about it with our developer team and it looks like something like this can be done. In wp_usermeta add meta_key “_hmwp_email_address” for the user ID email.

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