We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf16922 commit fac1f35Copy full SHA for fac1f35
web/includes/auth/handler/SteamAuthHandler.php
@@ -25,6 +25,10 @@ private function login()
25
private function validate()
26
{
27
$pattern = "/^https:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/";
28
+
29
+ if (!preg_match($pattern, $this->openid->claimed_id))
30
+ return false;
31
32
preg_match($pattern, $this->openid->identity, $match);
33
34
return (!empty($match[1])) ? $match[1] : false;
0 commit comments