1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00

adding log to authenticated middleware for K8S env

This commit is contained in:
Martin McKeaveney 2021-08-04 10:38:49 +01:00
parent 2a267cecf0
commit 0ad651d592

View file

@ -66,6 +66,7 @@ module.exports = (noAuthPatterns = [], opts) => {
}
}
if (error) {
console.error("Auth Error", error)
// remove the cookie as the user does not exist anymore
clearCookie(ctx, Cookies.Auth)
} else {