settings: move branding settings into branding.js
This commit is contained in:
@@ -17,6 +17,7 @@ const assert = require('assert'),
|
||||
apps = require('./apps.js'),
|
||||
BoxError = require('./boxerror.js'),
|
||||
blobs = require('./blobs.js'),
|
||||
branding = require('./branding.js'),
|
||||
constants = require('./constants.js'),
|
||||
database = require('./database.js'),
|
||||
debug = require('debug')('box:oidc'),
|
||||
@@ -447,7 +448,7 @@ function renderInteractionPage(provider) {
|
||||
const options = {
|
||||
submitUrl: `${ROUTE_PREFIX}/interaction/${uid}/login`,
|
||||
iconUrl: '/api/v1/cloudron/avatar',
|
||||
name: client?.name || await settings.getCloudronName()
|
||||
name: client?.name || await branding.getCloudronName()
|
||||
};
|
||||
|
||||
if (app) {
|
||||
|
||||
Reference in New Issue
Block a user