mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
Update dockerSecret.js
Adding OAUTH2 secrets so they can be set using docker secrets. Signed-off-by: Dennis Gaida <2392217+DennisGaida@users.noreply.github.com>
This commit is contained in:
parent
aebac6173c
commit
e371d6dcfa
1 changed files with 5 additions and 1 deletions
|
@ -56,6 +56,10 @@ if (fs.existsSync(basePath)) {
|
|||
clientSecret: getSecret('google_clientSecret'),
|
||||
hostedDomain: getSecret('google_hostedDomain')
|
||||
},
|
||||
imgur: getSecret('imgur_clientid')
|
||||
imgur: getSecret('imgur_clientid'),
|
||||
oauth2: {
|
||||
clientID: getSecret('oauth2_clientID'),
|
||||
clientSecret: getSecret('oauth2_clientSecret')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue