diff --git a/deploy/auth/index.js b/deploy/auth/index.js index 8c3895710418e81e78ef7aa5aea483013a799886..4f0f75a53c987f8207cd943cc7923acd704ef974 100644 --- a/deploy/auth/index.js +++ b/deploy/auth/index.js @@ -24,7 +24,7 @@ module.exports = async (app) => { if (req.user) { return res.status(200).send(JSON.stringify(req.user)) } else { - return res.sendStatus(401) + return res.status(401).end() } }) diff --git a/src/ui/signinBanner/signinBanner.template.html b/src/ui/signinBanner/signinBanner.template.html index ff6d2736ca6083aba5b8d4d8445e749089770db8..22489e4044c5c7036b64b1052e7752750aa1f874 100644 --- a/src/ui/signinBanner/signinBanner.template.html +++ b/src/ui/signinBanner/signinBanner.template.html @@ -1,5 +1,5 @@ <div class="d-flex" - (helpdirective)="!menuOpen ? openTmplWithDialog(helpComponent) : null"> + (helpdirective)="openTmplWithDialog(helpComponent)"> <!-- signin --> <div class="btnWrapper">