Thread Starter
toooni
(@toooni)
Error is located in wp-steam-auth.php on line 106 ($findUser = get_users($args)) –> This function returns all Users instead of only the searched one with args.
The next line 107 then takes the first of this found users ($findUser = $findUser[0])
I will further analyse.. i think the real error happens earlier… maybe the preg_match on line 94 doesn’t work anymore because openid delivers an other format.
Thread Starter
toooni
(@toooni)
I found the reason/faulty code for this issue.
Reason: Steam API was changed. After login when your redirected with 302, then the parameters have changed.
Faulty Code in: wp-steam-auth.php LINE 93
Replace this:
$pattern = “/^http:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/”;
With this:
$pattern = “/^https:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/”;
After that all works again because the preg_match command on Line 94 works again.
Toooni THANKS man!
This correction save MY DAY!
$pattern = “/^https:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/”;
THANKS!! i am brazillian. sorry my bad english .
and Thanks again!!!
Thanks man!
This plugin didnt work until i found this thread!