is_admin == 0) { return redirect('/dashboard/user')->with('message', 'Login berhasil sebagai user.'); } else { return $next($request); } } }