Skip to content

Commit

Permalink
Merge pull request #3 from linkjay/patch-1
Browse files Browse the repository at this point in the history
Update that makes this not broken
  • Loading branch information
vikas5914 authored Jul 28, 2018
2 parents 4ce056c + ba56750 commit cde1282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SteamAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private static function validate()
$result = file_get_contents("https://steamcommunity.com/openid/login", false, $context);

// Validate wheather it's true and if we have a good ID
preg_match("#^http://steamcommunity.com/openid/id/([0-9]{17,25})#", $_GET['openid_claimed_id'], $matches);
preg_match("#^https://steamcommunity.com/openid/id/([0-9]{17,25})#", $_GET['openid_claimed_id'], $matches);
$steamID64 = is_numeric($matches[1]) ? $matches[1] : 0;

// Return our final value
Expand Down

0 comments on commit cde1282

Please sign in to comment.