# HG changeset patch # User Anthony Nowell # Date 1524168534 21600 # Node ID 31618a75f251c35b60f7b73b966ec9972d3a831c # Parent f6bde5107e489e86270175653be9930828d0f85b# Parent d5c842a5082725f16f6e0b078accb31065a0146a Merge pull request #3 from clee/fix-pam-sober-message Fix pam-sober message (not using HTTP) diff -r f6bde5107e48 -r 31618a75f251 pam-sober/src/lib.rs --- a/pam-sober/src/lib.rs Thu Apr 12 09:41:51 2018 -0600 +++ b/pam-sober/src/lib.rs Thu Apr 19 14:08:54 2018 -0600 @@ -32,7 +32,7 @@ impl PamHooks for PamSober { // This function performs the task of authenticating the user. fn sm_authenticate(pamh: &PamHandle, _args: Vec<&CStr>, _flags: PamFlag) -> PamResultCode { - println!("Let's auth over HTTP"); + println!("Let's make sure you're sober enough to perform basic addition"); /* TODO: use args to change difficulty ;-) let args: HashMap<&str, &str> = args.iter().map(|s| { @@ -79,4 +79,4 @@ println!("account management"); PamResultCode::PAM_SUCCESS } -} \ No newline at end of file +}