summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-16 13:26:45 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-16 13:26:45 +0100
commit4e7c6e5ace7eeb47c8252d9d24899959032b31dd (patch)
treea5f16422cbcbc81ef4cf8bf7a9b5be65363787d9 /config.def.h
parent134756388105672448c444adb8991077fc0d12b9 (diff)
Apply pam patch
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index a0305fb..d631a8d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -7,11 +7,15 @@ static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */
[INPUT] = "#005577", /* during input */
[FAILED] = "#CC3333", /* wrong password */
+ [PAM] = "#9400D3", /* waiting for PAM */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
+/* PAM service that's used for authentication */
+static const char* pam_service = "login";
+
/* time in seconds to cancel lock with mouse movement */
static const int timetocancel = 4;