Skip to content

Commit

Permalink
fix: log user_unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
34N0 committed Jan 26, 2024
1 parent 0617da0 commit a2bda98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/util/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a2bda98

Please sign in to comment.