mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-01-08 16:30:24 +01:00
parent
046ec8dbf4
commit
18d4aa6d7d
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include <libintl.h>
|
||||
#include <systemd/sd-bus.h>
|
||||
#include <systemd/sd-login.h>
|
||||
|
||||
#define PAM_SM_AUTH
|
||||
#include <security/pam_modules.h>
|
||||
|
|
@ -604,6 +605,9 @@ is_remote (pam_handle_t *pamh)
|
|||
return true;
|
||||
}
|
||||
|
||||
if (sd_session_is_remote (NULL) > 0)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue