After entering always Auth::check() return fasle
Closed this issue · 1 comments
haskell-md2 commented
Why Auth::login($user, true); not working?
public function handle()
{
if ($this->steam->validate()) {
$info = $this->steam->getUserInfo();
if (!is_null($info)) {
$user = $this->findOrNewUser($info);
Auth::login($user, true);
return redirect($this->redirectURL); // redirect to site
}
}
return $this->redirectToSteam();
}
haskell-md2 commented
I am sorry. My mistake was that I did not use standart model Users and use custom model!