Add SIMPLE_AUTH_ORIGIN

This commit is contained in:
Johannes Zellner
2015-10-09 12:56:07 +02:00
parent 51c438b0b6
commit 223e0dfd1f

View File

@@ -299,7 +299,8 @@ function setupSimpleAuth(app, options, callback) {
if (error) return callback(error);
var env = [
'SIMPLE_AUTH_CLIENT_ID=' + id
'SIMPLE_AUTH_CLIENT_ID=' + id,
'SIMPLE_AUTH_ORIGIN=' + config.adminOrigin()
];
debugApp(app, 'Setting simple auth addon config to %j', env);