Stop using the cloudron name in the oauth views
This commit is contained in:
@@ -137,14 +137,7 @@ function renderTemplate(res, template, data) {
|
||||
assert.strictEqual(typeof template, 'string');
|
||||
assert.strictEqual(typeof data, 'object');
|
||||
|
||||
settings.getCloudronName(function (error, cloudronName) {
|
||||
if (error) console.error(error);
|
||||
|
||||
// amend details which the header expects
|
||||
data.cloudronName = cloudronName || 'Cloudron';
|
||||
|
||||
res.render(template, data);
|
||||
});
|
||||
res.render(template, data);
|
||||
}
|
||||
|
||||
function sendErrorPageOrRedirect(req, res, message) {
|
||||
|
||||
Reference in New Issue
Block a user