mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: generate secure secret key and prevent default
This commit is contained in:
1 parent
b9a79eb435
commit
f18ec35a9f
11 files changed
+45
-5
No files matched your search
@@ -4,7 +4,7 @@ import MongoStore from 'connect-mongo'
|
||||
import config from '../config.js'
|
||||
|
||||
export default session({
|
||||
secret: config.jwtSecret,
|
||||
secret: config.secret,
|
||||
resave: false,
|
||||
saveUninitialized: false,
|
||||
rolling: true,
|
||||
|
||||
Reference in new issue
Block a user