From 5220bd9de6c89e98509e5c9610d76018325169db Mon Sep 17 00:00:00 2001
From: Elian Loraux <elian.loraux@tetras-libre.fr>
Date: Thu, 20 Jun 2024 15:30:14 +0200
Subject: [PATCH] remove root password variable to change in webapp

---
 .env.sample        | 1 -
 README.md          | 2 ++
 docker-compose.yml | 1 -
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.env.sample b/.env.sample
index b66334c..7af8c01 100644
--- a/.env.sample
+++ b/.env.sample
@@ -12,7 +12,6 @@ PORT=3000
 # Variable to change
 
 SECRET_ROOT_USER=                       # User as the root admin user
-SECRET_ROOT_PASSWORD=                   # The admin user password (change this after signed in)
 SECRET_ROOT_EMAIL=                      # The email for the admin user
 SECRET_JWT_SECRET=                      # Override this for the secret signin JWT tokens for log in
 
diff --git a/README.md b/README.md
index eb130d1..1a206d7 100644
--- a/README.md
+++ b/README.md
@@ -16,4 +16,6 @@ touch database/hammelig.db
 chown 1000:1000 data/hemmelig database
 
 docker-compose up
+
+# Change password of admin with web app
 ```
diff --git a/docker-compose.yml b/docker-compose.yml
index c954f0b..2fa63e6 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,7 +13,6 @@ services:
             - SECRET_PORT=${PORT}
             - SECRET_HOST=${HOST}
             - SECRET_ROOT_USER=${SECRET_ROOT_USER}
-            - SECRET_ROOT_PASSWORD=${SECRET_ROOT_PASSWORD}
             - SECRET_ROOT_EMAIL=${SECRET_ROOT_EMAIL}
             - SECRET_FORCED_LANGUAGE=${SECRET_FORCED_LANGUAGE}
             - SECRET_JWT_SECRET=${SECRET_JWT_SECRET}
-- 
GitLab