From 8700f1a4e37b946f7f5c452a6677a3da3e9d11fa Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sun, 29 Jan 2023 17:29:18 +0000 Subject: Return PAM_IGNORE from close session --- src/pam.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pam.rs') diff --git a/src/pam.rs b/src/pam.rs index 17e4590..81d543e 100644 --- a/src/pam.rs +++ b/src/pam.rs @@ -9,6 +9,7 @@ pub struct PAMHandle { pub const SUCCESS: c_int = 0; pub const SESSION_ERR: c_int = 14; +pub const IGNORE: c_int = 25; extern "C" { fn pam_get_user( -- cgit v1.2.3-54-g00ecf