aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-01-18 13:01:04 -0500
committerBradley Taunt <bt@btxx.org>2024-01-18 13:01:04 -0500
commitbde3db26330f878d073359476f27c3a90c9b582d (patch)
tree3f1308098a7eada810246029bb92a05b4c2345c7 /config.def.h
Initial commit on new cgit platformHEADmaster
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
new file mode 100644
index 0000000..9855e21
--- /dev/null
+++ b/config.def.h
@@ -0,0 +1,12 @@
+/* user and group to drop privileges to */
+static const char *user = "nobody";
+static const char *group = "nogroup";
+
+static const char *colorname[NUMCOLS] = {
+ [INIT] = "black", /* after initialization */
+ [INPUT] = "#005577", /* during input */
+ [FAILED] = "#CC3333", /* wrong password */
+};
+
+/* treat a cleared input like a wrong password (color) */
+static const int failonclear = 1;