1
0
Fork 0
mirror of synced 2024-07-05 22:40:39 +12:00

Update auth.ts

This commit is contained in:
Martin McKeaveney 2024-04-10 17:03:15 +01:00 committed by GitHub
parent fcd1113494
commit 27dec6e390
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,8 +35,7 @@ async function passportCallback(
info: { message: string } | null = null
) {
if (err) {
console.error("Authentication error")
console.error(err)
console.error("Authentication error", err)
console.trace(err)
return ctx.throw(403, info ? info : "Unauthorized")
}