redirect stuff
This commit is contained in:
@@ -17,6 +17,8 @@ class RedirectIfAuthenticated
|
||||
*/
|
||||
public function handle($request, Closure $next, $guard = null)
|
||||
{
|
||||
dd($request);
|
||||
|
||||
if (Auth::guard($guard)->check()) {
|
||||
return redirect('/dashboard');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user