Skip to content

High performance self-hosted photo and video management solution.

Fix: Remove default JWT_SECRET value in .env

bo0tzz0c4968dc3021
diff --git a/docker/.env.example b/docker/.env.example
index 33b4925514..dc09e9da91 100644
--- a/docker/.env.example
+++ b/docker/.env.example
@@ -38,7 +38,10 @@ LOG_LEVEL=simple
# JWT SECRET
###################################################################################
-JWT_SECRET=randomstringthatissolongandpowerfulthatnoonecanguess
+# This JWT_SECRET is used to sign the authentication keys for user login
+# You should set it to a long randomly generated value
+# You can use this command to generate one: openssl rand -base64 128
+#JWT_SECRET=
###################################################################################
# Reverse Geocoding