Skip to content

Commit

Permalink
Fix a dialyzer error revealed by otp 25.3
Browse files Browse the repository at this point in the history
  • Loading branch information
HoloRin committed Mar 8, 2023
1 parent 3ebfa25 commit ba9c43d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deps/rabbitmq_amqp1_0/src/rabbit_amqp1_0_reader.erl
Original file line number Diff line number Diff line change
Expand Up @@ -665,8 +665,7 @@ auth_phase_1_0(Response,
rabbit_core_metrics:auth_attempt_succeeded(<<>>, <<>>, amqp10),
Secure = #'v1_0.sasl_challenge'{challenge = {binary, Challenge}},
ok = send_on_channel0(Sock, Secure, rabbit_amqp1_0_sasl),
State#v1{connection = Connection =
#v1_connection{auth_state = AuthState1}};
State#v1{connection = Connection#v1_connection{auth_state = AuthState1}};
{ok, User = #user{username = Username}} ->
case rabbit_access_control:check_user_loopback(Username, Sock) of
ok ->
Expand Down

0 comments on commit ba9c43d

Please sign in to comment.