Stop using the cloudron name in the oauth views
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<span class="navbar-brand navbar-brand-icon"><img src="/api/v1/cloudron/avatar" width="40" height="40"/></span>
|
||||
<span class="navbar-brand"><%= cloudronName %></span>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -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