Giter Site home page Giter Site logo

Invalid Secret about php.googleauthenticator HOT 5 CLOSED

jocic avatar jocic commented on August 12, 2024
Invalid Secret

from php.googleauthenticator.

Comments (5)

jocic avatar jocic commented on August 12, 2024 1

Thank you for reporting the issue, I will resolve it as soon as possible!

from php.googleauthenticator.

cwchristerw avatar cwchristerw commented on August 12, 2024

PHP Error:

Fatal error: Uncaught Exception: Invalid secret provided. Secret: "JVIVET2MKBJUEU2TIZCVORCCJ5GTON2HKNGFOT2FIRCUGT2EIRIQ" in {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Secret.php:194 Stack trace: #0 {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Secret.php(128): Jocic\GoogleAuthenticator\Secret->setValue('JVIVET2MKBJUEU2...') #1 {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Account.php(339): Jocic\GoogleAuthenticator\Secret->__construct('JVIVET2MKBJUEU2...') #2 {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Account.php(128): Jocic\GoogleAuthenticator\Account->setAccountSecret('JVIVET2MKBJUEU2...') #3 {FOLDER}/system/datastore/n1cqm5613748d7246cp9v9ykuumg5p1b/999999999/2fa/variables.php(34): Jocic\GoogleAuthenticator\Account->__construct('Example', 'example@cwinfo....', 'JVIVET2MKBJUEU2 in {FOLDER}/system/external/jocic/google-authenticator/source/Jocic/GoogleAuthenticator/Secret.php on line 194

from php.googleauthenticator.

cwchristerw avatar cwchristerw commented on August 12, 2024

Temporarily fixed this with changing length check in Secret.php because in FreeOTP minimum legth for secret is 8

            // Step 1 - Check Length
            
            if (count($characters) < 8)
            {
                return false;
            }

from php.googleauthenticator.

amjithps avatar amjithps commented on August 12, 2024

Is this issue solved?

from php.googleauthenticator.

jocic avatar jocic commented on August 12, 2024

Yes, issue has been resolved.

from php.googleauthenticator.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.