adding log to authenticated middleware for K8S env
This commit is contained in:
parent
6ffdb68be8
commit
52c803bf39
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue