1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-04 01:18:20 +02:00

fix: Add option via env for ADMIN_AUTHENTICATION

closes #626
This commit is contained in:
Ivar Conradi Østhus 2020-09-25 21:34:27 +02:00
parent acebae65e3
commit 2ce9b4e0c3
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
- fix: improve import/export documentation - fix: improve import/export documentation
- fix: update helmet config - fix: update helmet config
- fix: Heroku Postgres add-on version change (#631) - fix: Heroku Postgres add-on version change (#631)
- fix: Add option via env for ADMIN_AUTHENTICATION
## 3.5.4 ## 3.5.4

View File

@ -45,7 +45,7 @@ function defaultOptions() {
publicFolder, publicFolder,
enableRequestLogger: false, enableRequestLogger: false,
sessionAge: THIRTY_DAYS, sessionAge: THIRTY_DAYS,
adminAuthentication: 'unsecure', adminAuthentication: process.env.ADMIN_AUTHENTICATION || 'unsecure',
ui: {}, ui: {},
importFile: undefined, importFile: undefined,
dropBeforeImport: false, dropBeforeImport: false,