Skip to content

Commit

Permalink
fixed User logout if roles count is not equal
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenegp committed Jan 15, 2020
1 parent 392b7e0 commit 99abdf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Security/HmacAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function authenticateToken(TokenInterface $token, UserProviderInterface $
$user,
$queryString,
$providerKey,
array_merge($user->getRoles(), ['ROLE_HMAC'])
$user->getRoles()
);
}

Expand Down

0 comments on commit 99abdf2

Please sign in to comment.