Skip to content

Commit

Permalink
Remove hard coded cookie session string in favor of env var
Browse files Browse the repository at this point in the history
  • Loading branch information
mmurrell-r7 committed Jun 27, 2024
1 parent b3c834d commit 7c2bd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/api/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const config = require('./config.json');
const Auth = require('./auth');

const sessionSecret = '491F9BAD-DFFF-46E2-A0F9-56397B538060';
const sessionSecret = process.env.SESSION_SECRET;

const auth = new Auth(config.auth);
const app = require('./server-config')(auth, config, sessionSecret);
Expand Down

0 comments on commit 7c2bd45

Please sign in to comment.