Skip to content

Commit

Permalink
fix: return AUTH_ERR in bounce
Browse files Browse the repository at this point in the history
  • Loading branch information
34N0 committed Jan 29, 2024
1 parent bd68542 commit f6aba7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ fn bounce_auth(pamh: &mut PamHandle, settings: &Settings, tally: &Tally) -> PamR
// Wait for one second
sleep(std::time::Duration::from_secs(1));
// }
return PamResultCode::PAM_AUTH_ERR
}
}
PamResultCode::PAM_SUCCESS
Expand Down

0 comments on commit f6aba7f

Please sign in to comment.