Sarav-S / Laravel-Multiauth

A Simple Laravel Package for handling multiple authentication
50 stars 8 forks source link

RedirectIfAuthenticated guest for user not working? #7

Closed bartw2k9 closed 8 years ago

bartw2k9 commented 8 years ago

if ($this->auth->check()) { return redirect('/home'); }

in class RedirectIfAuthenticated and AdminGuest not working? In what case it: \Auth::check('admin') returns true?

Sarav-S commented 8 years ago

@bwiatrni can you elaborate your issue little more?

bartw2k9 commented 8 years ago

it was my mistake I have misunderstood how it works for route auth/login. It's true when you try call auth/login route again when you logged in. It's all right

Sarav-S commented 8 years ago

It happens :) No problem