• Resolved chelminski

    (@chelminski)


    Hi ??

    How is the data stored about whether someone has 2fa enabled? (I want to write a simple script that will activate the function depending on the role or at the user’s request.) Where is this value stored in the database? Is this value stored in the user meta or in the plugin settings? What is the name of the field?

    I’m asking out of laziness, I have too much of everything to find ??.

    Greetings,
    chelminski

Viewing 1 replies (of 1 total)
  • Plugin Author SS88 LLC

    (@ss88_uk)

    Morning @chelminski,

    In the database table wp_usermeta, you’d be looking for the following meta_key:

    • SS88_2FAVE_Enabled
    • SS88_2FAVE_Enabled_API

    Setting the meta_value to 1 would enable it for the user. SS88_2FAVE_Enabled_API is for the WP REST API.

    Let me know if you have any other questions!
    Sully

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