mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-12 09:41:18 +02:00
Update pam.py
This commit is contained in:
parent
5a76af965a
commit
3f68b57eec
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def doAuth(pamh):
|
|||
# Abort if the video device does not exist
|
||||
if not os.path.exists(config.get("video", "device_path")):
|
||||
if config.getboolean("video", "warn_no_device"):
|
||||
print("Video device " + config.get("video", "device_path") + " not found")
|
||||
print("Camera path is not configured correctly, please edit the 'device_path' config value.")
|
||||
return pamh.PAM_AUTHINFO_UNAVAIL
|
||||
|
||||
# Set up syslog
|
||||
|
|
Loading…
Reference in a new issue