This is an automated email from the ASF dual-hosted git repository.

vivo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git


The following commit(s) were added to refs/heads/master by this push:
     new d75104683 use secret in .env instead of hard coded one (#2718)
d75104683 is described below

commit d75104683d43c6d9b8dd0f49853aa1d383621420
Author: Vivo <[email protected]>
AuthorDate: Wed Dec 20 21:34:09 2023 -0800

    use secret in .env instead of hard coded one (#2718)
---
 helix-front/server/app.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helix-front/server/app.ts b/helix-front/server/app.ts
index 244171a30..3560ed010 100644
--- a/helix-front/server/app.ts
+++ b/helix-front/server/app.ts
@@ -58,7 +58,7 @@ app.use(bodyParser.urlencoded({ extended: true }));
 app.use(
   session({
     store: SESSION_STORE,
-    secret: 'helix',
+    secret: process.env.SECRET_TOKEN,
     resave: true,
     saveUninitialized: true,
     cookie: { expires: new Date(2147483647000) },

Reply via email to