Skip to content

Commit f7e29f5

Browse files
committed
fix: sync config
1 parent 5e2a289 commit f7e29f5

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

template/config/index.js

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,21 +256,25 @@ config.views.locals.manifest = manifestRev({
256256

257257
// add global `config` object to be used by views
258258
config.views.locals.config = _.pick(config, [
259-
'verificationPin',
260-
'supportRequestMaxLength',
261-
'appName',
262-
'urls',
263-
'userFields',
264-
'otpRoutePrefix',
265-
'passport',
266259
'appColor',
267-
'twitter',
260+
'appName',
268261
'env',
262+
'lastLocaleField',
269263
'loginRoute',
264+
'maxForwardedAddresses',
265+
'otpRoutePrefix',
266+
'passport',
267+
'passportCallbackOptions',
270268
'passportLocalMongoose',
271269
'pkg',
272-
'verifyRoute',
273-
'passportCallbackOptions'
270+
'recordPrefix',
271+
'storeIPAddress',
272+
'supportRequestMaxLength',
273+
'twitter',
274+
'urls',
275+
'userFields',
276+
'verificationPin',
277+
'verifyRoute'
274278
]);
275279

276280
// add `views` to `config.email`

0 commit comments

Comments
 (0)