openvibers/openvibe.chat Commits

Sign in with a button on signed-out pages (#303)

OP OpenVibers committed 13 days ago · d7fb5fb9d6 · 1 file, +1 −1

Changes

ddiff --git a/server/web/pages.js b/server/web/pages.js
iindex 67754c1..46fbb07 100644
---- a/server/web/pages.js
++++ b/server/web/pages.js
@@@ -224,7 +224,7 @@ function createWebRoutes({ config }) {
actor, title: 'Sign in to continue', path: req.path, active: null, footer: 'compact', robots: 'noindex, nofollow',
body: `<h1>Sign in to continue</h1>
<p class="oc-muted">This page is for OpenVibe accounts. Sign in and you come straight back here.</p>
--<p><a class="oc-btn" href="/auth/login?next=${encodeURIComponent(req.path)}">Sign in with OpenVibe</a></p>`,
++<p><a class="oc-button" href="/auth/login?next=${encodeURIComponent(req.path)}">Sign in with OpenVibe</a></p>`,
});
return null;
};