Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GuilhemN committed Feb 22, 2016
1 parent b7c550f commit 0b25cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Security/Authentication/Provider/OAuthProvider.php
Expand Up @@ -93,7 +93,7 @@ public function authenticate(TokenInterface $token)
}
}

$roles = array_unique($roles);
$roles = array_unique($roles, SORT_REGULAR);

$token = new OAuthToken($roles);
$token->setAuthenticated(true);
Expand Down

0 comments on commit 0b25cda

Please sign in to comment.