diff --git a/src/OpenID/Provider/Steam.php b/src/OpenID/Provider/Steam.php index d6e30853d..0a0b54d93 100644 --- a/src/OpenID/Provider/Steam.php +++ b/src/OpenID/Provider/Steam.php @@ -44,12 +44,12 @@ public function getName() protected function parseUserIdFromIdentity($identity) { preg_match( - '/^http:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/', + '/7[0-9]{15,25}/', $identity, $matches ); - return $matches[1]; + return $matches[0]; }