We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7c550f commit 0b25cdaCopy full SHA for 0b25cda
Security/Authentication/Provider/OAuthProvider.php
@@ -93,7 +93,7 @@ public function authenticate(TokenInterface $token)
93
}
94
95
96
- $roles = array_unique($roles);
+ $roles = array_unique($roles, SORT_REGULAR);
97
98
$token = new OAuthToken($roles);
99
$token->setAuthenticated(true);
0 commit comments