HIVE The NexaVM Community NexaVM HIVE Community
    • Categories
    • Tags
    • Recent
    • Register
    • Login

    How to reset MFA secret token

    Scheduled Pinned Locked Moved Knowledgebase
    1 Posts 1 Posters 4 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nexusundefined Offline
      nexus
      last edited by nexus

      1- Point to the VIP resident node in SSH
      2- Login to mysql

      mysql -u <user> -p
      

      3- Select the database

      use zstack;
      

      4- Find the account you want to reset the secret token

      Select uuid from AccountVO where name='<username>';
      

      5- Find the secret associated with the user

      Select secret From TwoFactorAuthenticationSecretVO Where userUuid='<uuid>';
      

      6- Delete the secret

      Delete From TwoFactorAuthenticationSecretVO Where secret='<secret>';
      

      7- Open the login page from a fresh (incognito) webpage and follow the procedure to set up the 2FA again

      1 Reply Last reply Reply Quote
      • nexusundefined nexus marked this topic as a regular topic

      • 1 / 1
      • First post
        Last post