mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-08 14:38:30 -04:00
fix(greeter): reimplement regression to hide debug logs during login
- Provide more status feedback - Allow 2 fprint tries within 10 seconds for DMS-managed PAM - Updated dms greeter docs Note: distro-managed PAM takes precedence and may use different limits. DMS auth changes remain conditional on greetd being installed. Fixes #2853 Port 1.5
This commit is contained in:
@@ -849,7 +849,7 @@ func syncGreeterPamConfigWithDeps(logFunc func(string), sudoPassword string, set
|
||||
if wantFprint || wantU2f {
|
||||
blockLines := []string{GreeterPamManagedBlockStart}
|
||||
if wantFprint {
|
||||
blockLines = append(blockLines, "auth sufficient pam_fprintd.so max-tries=1 timeout=5")
|
||||
blockLines = append(blockLines, "auth sufficient pam_fprintd.so max-tries=2 timeout=10")
|
||||
}
|
||||
if wantU2f {
|
||||
blockLines = append(blockLines, "auth sufficient pam_u2f.so cue nouserok timeout=10")
|
||||
|
||||
Reference in New Issue
Block a user