Skip to content

Commit

Permalink
Remove unnecessary case
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed Nov 27, 2024
1 parent 74baad8 commit 85e1622
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@ update_state(AuthUser, NewToken) ->
impl = fun() -> DecodedToken end}};
{error, mismatch_username_after_token_refresh} ->
{refused,
"Not allowed to change username on refreshed token"};
{error, Error} ->
{refused,
rabbit_misc:format("Failed to refresh token due to ~p", [Error])}
"Not allowed to change username on refreshed token"}
end
end
end.
Expand Down

0 comments on commit 85e1622

Please sign in to comment.