Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,12 @@ object AuthUtils {
val location = response.getHeaderString("location")
if (location != null && (location.contains("error", true) || location.contains("login", true))) {
log.warn("Login request failed with ${response.status} redirection toward $location")
response.close()
return null
}
} else {
log.warn("Login request failed with status ${response.status}")
response.close()
return null
}
}
Expand Down