Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    2fa code issues

    SOGo
    3
    4
    48
    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.
    • P
      privsec last edited by

      I now have multiple users experiencing an issue with their 2FA codes that was set up with SOGo.

      How do I have them bypass/reset their accounts?

      I just tried myself, and now my two (personal and business) account is not letting me sign in at sogo.domain.com, I can login in just fine st snappy.domain.com

      BrutalBirdie girish 2 Replies Last reply Reply Quote 0
      • BrutalBirdie
        BrutalBirdie Staff @privsec last edited by

        @privsec
        In the Database it's:

        To see your profile

        SELECT *
        FROM sogo_user_profile
        WHERE c_uid = "your@email.com";
        

        Disable 2FA:

        UPDATE sogo_user_profile
        SET c_defaults = REPLACE(
        c_defaults,
        "\\"SOGoTOTPEnabled\\": 1",
        "\\"SOGoTOTPEnabled\\": 0")
        WHERE c_uid = "your@email.com";
        

        Like my work? Consider donating a beer 🍻 Cheers!

        1 Reply Last reply Reply Quote 3
        • girish
          girish Staff @privsec last edited by

          @privsec usually 2fa errors come from time not being in sync. Can you check the server time?

          P 1 Reply Last reply Reply Quote 0
          • P
            privsec @girish last edited by

            @girish Sure, but weird thing is all my other 2fa for services work without a problem

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB