Skip to content

Commit

Permalink
Remove debug prints (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonbaeten authored Mar 28, 2023
1 parent 9508603 commit cae393e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/sudo-pam/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ impl<'a, C: Converser> PamContext<'a, C> {

/// Set the user that is requesting the authentication.
pub fn set_requesting_user(&mut self, user: &str) -> PamResult<()> {
eprintln!("REQUIESTING USER: {:?}", user);
let c_user = CString::new(user)?;
let res = unsafe {
pam_set_item(
Expand All @@ -272,7 +271,6 @@ impl<'a, C: Converser> PamContext<'a, C> {

/// Set the user that will be authenticated.
pub fn set_user(&mut self, user: &str) -> PamResult<()> {
eprintln!("SET USER: {:?}", user);
let c_user = CString::new(user)?;
let res = unsafe {
pam_set_item(
Expand Down

0 comments on commit cae393e

Please sign in to comment.