1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01: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: update helmet config
- fix: Heroku Postgres add-on version change (#631)
- fix: Add option via env for ADMIN_AUTHENTICATION
## 3.5.4

View File

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