From a2bda98f3fd8b67f607c59d6574df062e932e374 Mon Sep 17 00:00:00 2001 From: 34n0 <34n0@immerda.ch> Date: Fri, 26 Jan 2024 14:19:07 +0100 Subject: [PATCH] fix: log user_unknown --- crates/util/src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/util/src/settings.rs b/crates/util/src/settings.rs index ae1560d..938dfc4 100644 --- a/crates/util/src/settings.rs +++ b/crates/util/src/settings.rs @@ -110,7 +110,7 @@ impl Settings<'_> { settings.action.get_or_insert(Actions::AUTHSUCC); // get user - settings.user = Some(user.ok_or(PamResultCode::PAM_SYSTEM_ERR)?); + settings.user = Some(user.ok_or(PamResultCode::PAM_USER_UNKNOWN)?); // pam hook settings.pam_hook = pam_hook;