Skip to content

Commit

Permalink
Do not count authentication success in challenge phase
Browse files Browse the repository at this point in the history
(cherry picked from commit 7ab9cb0)
  • Loading branch information
acogoluegnes authored and mergify[bot] committed Jun 6, 2023
1 parent 9833696 commit 798252c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions deps/rabbitmq_stream/src/rabbit_stream_reader.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1250,12 +1250,6 @@ handle_frame_pre_auth(Transport,
{C1#stream_connection{connection_step = failure},
{sasl_authenticate, ?RESPONSE_SASL_ERROR, <<>>}};
{challenge, Challenge, AuthState1} ->
<<<<<<< HEAD
rabbit_core_metrics:auth_attempt_succeeded(RemoteAddress,
<<>>,
stream),
=======
>>>>>>> a24b44347a (Polish authentication in stream reader)
{C1#stream_connection{authentication_state = AuthState1,
connection_step = authenticating},
{sasl_authenticate, ?RESPONSE_SASL_CHALLENGE,
Expand Down

0 comments on commit 798252c

Please sign in to comment.