From 6bfd488036437550af58d1151f07162493c471f8 Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 3 Nov 2020 19:03:57 +0100 Subject: [PATCH] adding cookie_key field in config.toml --- config.toml.sample | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config.toml.sample b/config.toml.sample index 2a2a13e..26299d0 100644 --- a/config.toml.sample +++ b/config.toml.sample @@ -14,7 +14,7 @@ database_path = "" # IP address of the Nextcloud instance, including protocol and port nextcloud_url = "http://10.0.0.0" -# Nextcloud admin account +# Nextcloud admin account credentials admin_username = "adminusername" admin_password = "adminverylongandsecurepassword" @@ -24,5 +24,10 @@ prune_days = 150 # Displays route names and a lot of information debug_mode = true +# Used to encrypt csrf tokens and csrf cookies. +# Generate random bytes: openssl rand -base64 48 +# Then paste the result in this variable +cookie_key = "" + # Don't touch this unless you know what you're doing -config_version = 1 +config_version = 2