From bdb016c60b5a29f83b5fbfe390aed9c0cb79e13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 8 May 2023 21:26:15 +0200 Subject: [PATCH] fix --- conf/.env | 6 +++--- scripts/install | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/.env b/conf/.env index 0130dc6..6b3feb5 100644 --- a/conf/.env +++ b/conf/.env @@ -6,7 +6,7 @@ LEAN_APP_URL = 'https://__DOMAIN__' # Base URL, only needed for subfolder installation LEAN_APP_URL_ROOT = '' # Base of application without trailing slash (used for cookies), e.g, /leantime -LEAN_DEBUG = 1 # Debug flag +LEAN_DEBUG = 0 # Debug flag # Database LEAN_DB_HOST = 'localhost' # Database host @@ -23,9 +23,9 @@ LEAN_SITENAME = 'Leantime' # Name of your site, can be c LEAN_LANGUAGE = '__LANGUAGE__' # Default language LEAN_DEFAULT_TIMEZONE = '__TIMEZONE__' # Set default timezone LEAN_ENABLE_MENU_TYPE = false # Enable to specifiy menu on a project by project basis -LEAN_SESSION_PASSWORD = '3evBlq9zdUEuzKvVJHWWx3QzsQhturBApxwcws2m' #Salting sessions. Replace with a strong password +LEAN_SESSION_PASSWORD = '__KEY__' #Salting sessions. Replace with a strong password LEAN_SESSION_EXPIRATION = 28800 # How many seconds after inactivity should we logout? 28800seconds = 8hours -LEAN_LOG_PATH = null # Default Log Path (including filename), if not set /logs/error.log will be used +LEAN_LOG_PATH = null # Default Log Path (including filename), if not set /logs/error.log will be used ## Look & Feel, these settings are available in the UI and can be overwritten there. LEAN_LOGO_PATH = '/images/logo.svg' # Default logo path, can be changed later diff --git a/scripts/install b/scripts/install index fada777..8d4db20 100755 --- a/scripts/install +++ b/scripts/install @@ -10,6 +10,7 @@ source _common.sh source /usr/share/yunohost/helpers timezone="$(cat /etc/timezone)" +key=$(ynh_string_random --length=18) #================================================= # APP "BUILD" (DEPLOYING SOURCES, VENV, COMPILING ETC)