pretty sure i'm the only one with this issue, but i thought i'd mention it.
i'm currently running php 7.2.4-1 and recently started getting reports that my auth isn't working.
public function parseSteamID()
{
// this line isn't assigning the steamid to $matches.
preg_match("#^http://steamcommunity.com/openid/id/([0-9]{17,25})#", $this->request->get('openid_claimed_id'), $matches);
$this->steamId = is_numeric($matches[1]) ? $matches[1] : 0;
}
this keeps spitting Undefined offset: 1 when trying to assign $matches[1] to $this->steamId. i changed it to a simple explode for now. or is that not a good idea?
public function parseSteamID()
{
$this->steamId = explode('/', $this->request->get('openid_claimed_id'))[5];
}
pretty sure i'm the only one with this issue, but i thought i'd mention it.
i'm currently running php 7.2.4-1 and recently started getting reports that my auth isn't working.
this keeps spitting Undefined offset: 1 when trying to assign $matches[1] to $this->steamId. i changed it to a simple explode for now. or is that not a good idea?