Don't check if challenge was solved when allowlisted

parent 2a360d94
......@@ -17,7 +17,7 @@ module Arkose
return false if invalid_token(response)
challenge_solved?(response) && (low_risk?(response) || allowlisted?(response))
allowlisted?(response) || (challenge_solved?(response) && low_risk?(response))
rescue StandardError => error
payload = { session_token: session_token, log_data: userid }
Gitlab::ExceptionLogFormatter.format!(error, payload)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment