use markdown2, add forced login. Added breadcrumbs

This commit is contained in:
Ville Rantanen
2023-07-23 20:23:48 +03:00
parent 09f56bd1fe
commit 9437e64936
13 changed files with 771 additions and 527 deletions

View File

@@ -35,7 +35,8 @@ $SQLITE "$1" -init schema.txt "insert into config (
description,
secret_key,
captcha_key,
registration_enabled
registration_enabled,
login_required
)
values (
'agreper-v0.1.1',
@@ -43,7 +44,8 @@ values (
'',
'$(head -c 30 /dev/urandom | base64)',
'$(head -c 30 /dev/urandom | base64)',
0
0,
0
)"
if [ "$2" != --no-admin ]
then