aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2026-06-29 17:43:03 +0000
committerRuben Beltran del Rio <git@r.bdr.sh>2026-06-29 17:43:03 +0000
commit25ccc2599aa722b0552193961d4cda15928112d8 (patch)
treed562abe7d1539665aaa9861d0615f039d3ff7bfa /utils.c
parent6fc748933ad263ba0e8c78eb9ae1e085a2b0dfb2 (diff)
parent795355acb496a8a8f015a80edf48f38786894f86 (diff)
Merge branch 'master' of https://codeberg.org/grunfink/snac2
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 3f9d667..9475bd7 100644
--- a/utils.c
+++ b/utils.c
@@ -44,7 +44,9 @@ static const char * const default_srv_config = "{"
"\"protocol\": \"https\","
"\"fastcgi\": false,"
"\"disable_inbox_collection\": true,"
- "\"disable_history\": true"
+ "\"disable_history\": true,"
+ "\"keep_replied_posts\": false,"
+ "\"keep_replied_me\": false"
"}";
static const char * const default_css =
@@ -369,6 +371,9 @@ int adduser(const char *uid)
fclose(f);
}
+ /* remove the grave */
+ grave(uid, 2);
+
printf("\nUser password is %s\n", pwd);
printf("\nGo to %s/%s and continue configuring your user there.\n", srv_baseurl, uid);