Skip to content

Commit

Permalink
Merge pull request #2412 from constantine2nd/develop
Browse files Browse the repository at this point in the history
OIDC only works on first log in attempt
  • Loading branch information
simonredfern committed Jul 12, 2024
2 parents 83ed226 + 1f80a25 commit 0eeb25e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,7 @@ def restoreSomeSessions(): Unit = {
case Full(user) if LoginAttempt.userIsLocked(user.getProvider(), usernameFromGui) =>
LoginAttempt.incrementBadLoginAttempts(user.getProvider(),usernameFromGui)
S.error(S.?(ErrorMessages.UsernameHasBeenLocked))
loginRedirect(ObpS.param("Referer").or(S.param("Referer")))

// Check if user came from kafka/obpjvm/stored_procedure and
// if User is NOT locked. Then check username and password
Expand Down

0 comments on commit 0eeb25e

Please sign in to comment.