Skip to content

Commit 0b25cda

Browse files
committed
1 parent b7c550f commit 0b25cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Security/Authentication/Provider/OAuthProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function authenticate(TokenInterface $token)
9393
}
9494
}
9595

96-
$roles = array_unique($roles);
96+
$roles = array_unique($roles, SORT_REGULAR);
9797

9898
$token = new OAuthToken($roles);
9999
$token->setAuthenticated(true);

0 commit comments

Comments
 (0)