Disable secure cookies for tests (since they use http)

This commit is contained in:
Girish Ramakrishnan
2017-04-14 01:45:00 -07:00
parent b6d8721aed
commit 588812a13a
+1 -1
View File
@@ -68,7 +68,7 @@ function initializeExpressSync() {
cookie: {
path: '/',
httpOnly: true,
secure: true,
secure: process.env.BOX_ENV !== 'test',
maxAge: 600000
}
}))