hamzasood / pam_touchid

A PAM module for authentication with Touch ID
GNU General Public License v3.0
441 stars 32 forks source link

Auto bypass TouchID is lid is closed #9

Open teejay-87 opened 4 years ago

teejay-87 commented 4 years ago

It would be nice to just prompt for password if MBP lid is closed (clamshell mode).

teejay-87 commented 4 years ago

Actually, you partially honor the lid closed status. I don't know what you check, but it seems that the check is fine is Mac is connected to AC.

If you close the lid when not on AC (by forcing the Mac not to sleep with pmset -a disablesleep 1) then the check doesn't work.