srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/platform/src/pam_auth.rs
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2026-08-30 20:41:00 +0200
committersrdusr <[email protected]>2026-08-30 20:41:00 +0200
commitf2f9ed1b3f9c49b323ce591eb72a406058d324a4 (patch)
tree12a53c9c527c0a63a4d93ed197af3f9edf2fca79 /crates/platform/src/pam_auth.rs
parentbac91a6162542025676f57afc3e514b88aa65366 (diff)
downloadsrdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.tar.gz
srdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.zip
Indent doc list continuations
Diffstat (limited to 'crates/platform/src/pam_auth.rs')
-rw-r--r--crates/platform/src/pam_auth.rs6
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) {