Stop using the cloudron name in the oauth views

This commit is contained in:
Johannes Zellner
2015-10-20 12:31:02 +02:00
parent 852b016389
commit 5fbcebf80b
2 changed files with 1 additions and 9 deletions

View File

@@ -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) {