src/Http/Controllers/Adminarea/AccountSessionsController.php
public function flush(Request $request)
    {
        $request->user($this->getGuard())->sessions()->delete();

        return intend([
            'back' => true,
            'with' => ['warning' => trans('cortex/auth::messages.auth.session.flushed')],
        ]);
    }
public function flush(Request $request)
    {
        $request->user($this->getGuard())->sessions()->delete();

        return intend([
            'back' => true,
            'with' => ['warning' => trans('cortex/auth::messages.auth.session.flushed')],
        ]);
    }
public function flush ( Request $ request ) { $ request -> user ( $ this -> getGuard ( ) ) -> sessions ( ) -> delete ( ) ; return intend ( [ 'back' => true , 'with' => [ 'warning' => trans ( 'cortex/auth::messages.auth.session.flushed' ) ] , ] ) ; }
Flush all sessions.

@param \Illuminate\Http\Request $request

@return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
Flush all sessions .