diff --git a/nodejs/conf/base.js b/nodejs/conf/base.js index 2644cd8..17949a9 100644 --- a/nodejs/conf/base.js +++ b/nodejs/conf/base.js @@ -9,6 +9,7 @@ // `app_*` env vars — never commit them here. module.exports = { name: "SSO Manager", // displayed in the UI and outbound email + logo: "/static/img/theta42.svg", // shown in the nav/footer; point at your own file under public/ (or an absolute URL) to white-label userModel: 'ldap', // pam, redis, ldap redis: { prefix: 'sso_manager_' diff --git a/nodejs/routes/docs.js b/nodejs/routes/docs.js index 67d5d96..2c67733 100644 --- a/nodejs/routes/docs.js +++ b/nodejs/routes/docs.js @@ -12,6 +12,7 @@ const values = { title: conf.environment !== 'production' ? `dev` : '', titleIcon: conf.environment !== 'production' ? `` : '', name: conf.name, + logo: conf.logo, ...buildInfo, }; diff --git a/nodejs/routes/index.js b/nodejs/routes/index.js index 3bd5393..d389511 100755 --- a/nodejs/routes/index.js +++ b/nodejs/routes/index.js @@ -14,6 +14,7 @@ const values ={ title: conf.environment !== 'production' ? `dev` : '', titleIcon: conf.environment !== 'production' ? `` : '', name: conf.name, + logo: conf.logo, ...buildInfo, } diff --git a/nodejs/views/top.ejs b/nodejs/views/top.ejs index eb7e7dd..d0faa08 100755 --- a/nodejs/views/top.ejs +++ b/nodejs/views/top.ejs @@ -3,9 +3,9 @@ - SSO - Theta 42 <%- title %> + <%- name %> <%- title %> - + @@ -28,7 +28,7 @@