hamzasood / pam_touchid

A PAM module for authentication with Touch ID

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto bypass TouchID is lid is closed

teejay-87 opened this issue · comments

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

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.