Giter VIP home page Giter VIP logo

Comments (4)

ThomasHabets avatar ThomasHabets commented on July 28, 2024

Comment #1 originally posted by nunojpg on 2011-01-15T18:16:08.000Z:

Why do you expect it do deny access?
"optional" means that the module will be run, but the output (success/failure) is disregarded.
On this specific module the only result it will deny the same code on the next run, if you set the appropriate option, or if it is a scratch code. Anyway, if the next time it is run, it is still a "optional" check, that doesn't mean anything again.

from google-authenticator.

ThomasHabets avatar ThomasHabets commented on July 28, 2024

Comment #2 originally posted by voyager.106 on 2011-01-18T19:48:37.000Z:

Thanks for the reply.

I chose optional because I misunderstood. Using the original PAM code, when I chose required, and someone tried logging in who didn't have their account set up for TFA, they weren't offered a verification prompt, but they were never allowed in, even when putting in their proper password. So I assumed 'required' meant that you were required to have your account set up for TFA, and if not, you weren't allowed in. By changing it to optional, I thought it would fix the issue so that if your account weren't set up for TFA, it would allow you in with just your password.

I came to find out a few days later that it was actually a bug that was fixed with a patch. When I applied the patch and rebuilt the PAM module from it, I was able to set it for 'required' and then when someone tried logging in without TFA set up, they were then allowed to get in with just their password.

from google-authenticator.

ThomasHabets avatar ThomasHabets commented on July 28, 2024

Comment #3 originally posted by [email protected] on 2011-02-16T03:20:46.000Z:

See bug # 27.

from google-authenticator.

ThomasHabets avatar ThomasHabets commented on July 28, 2024

Comment #4 originally posted by [email protected] on 2011-03-09T20:25:43.000Z:

<empty>

from google-authenticator.

Related Issues (20)

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.