Im trying to grab user information with this package: https://github.com/invisnik/laravel-steam-auth But im a completely noob to laravel atm.
How do I store the steamID64 in the Auth::user() field named 'steamid'
My following handling atm:
public function handle()
{
if ($this->steam->validate()) {
$info = $this->steam->getSteamId();
if (!is_null($info)) {
//I should store the steamid64 inside the Auth::user() field named 'steamid'
return redirect($this->redirectURL); // redirect to site
}
}
return $this->redirectToSteam();
}
I'm hoping someone can guide me in the right direction. Thanks in advance