diff --git a/src/Security/Authenticator/DiscordAuthenticator.php b/src/Security/Authenticator/DiscordAuthenticator.php index 0b22f3ac..787f440c 100644 --- a/src/Security/Authenticator/DiscordAuthenticator.php +++ b/src/Security/Authenticator/DiscordAuthenticator.php @@ -122,7 +122,7 @@ public function authenticate(Request $request): Passport Endpoint::bind(Endpoint::USER_CURRENT_CONNECTIONS) )); $steamConnection = (new ArrayCollection($userConnectionsResponse)) - ->filter(static fn (\stdClass $connection) => ConnectionsEnum::STEAM === $connection->type) + ->filter(static fn (\stdClass $connection) => ConnectionsEnum::STEAM->value === $connection->type) ->first() ;