pam_touchid
pam_touchid copied to clipboard
Auto bypass TouchID is lid is closed
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.