diff options
Diffstat (limited to 'crates/platform/src/pam_auth.rs')
| -rw-r--r-- | crates/platform/src/pam_auth.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/platform/src/pam_auth.rs b/crates/platform/src/pam_auth.rs index bdad439..e9e5841 100644 --- a/crates/platform/src/pam_auth.rs +++ b/crates/platform/src/pam_auth.rs @@ -34,9 +34,9 @@ const SERVICE: &str = "srdwm"; /// password itself, resolves to `false`. Deliberately no distinction /// between "wrong password" and "something is broken" in the return value /// - fail secure means every non-success path stays locked, not just the -/// ones that are the user's own fault. Logged at `warn` for whoever's -/// debugging a setup problem, never at a level that would put the -/// password itself in a log. +/// ones that are the user's own fault. Logged at `warn` for whoever's +/// debugging a setup problem, never at a level that would put the +/// password itself in a log. pub fn authenticate(username: &str, password: &str) -> bool { let conversation = Conversation::with_credentials(username, password); let mut context = match Context::new(SERVICE, Some(username), conversation) { |