mirror of
https://github.com/seerr-team/seerr.git
synced 2026-06-15 20:09:33 -04:00
test: add cookie secret to express app for auth tests
This commit is contained in:
@@ -34,7 +34,7 @@ let app: Express;
|
||||
function createApp() {
|
||||
const app = express();
|
||||
app.use(express.json());
|
||||
app.use(cookieParser());
|
||||
app.use(cookieParser('SECRET'));
|
||||
app.use(
|
||||
session({
|
||||
secret: 'test-secret',
|
||||
|
||||
Reference in New Issue
Block a user