Skip to content

Commit

Permalink
Fix error reporting on auth path
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Nov 1, 2024
1 parent 5c320c2 commit 654bdf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function loginCallback (req, res) {
res.end()
} catch (err) {
if (err) {
res.writeHead(err.code)
res.writeHead(400)
res.end(err + '')
}
}
Expand Down

0 comments on commit 654bdf0

Please sign in to comment.