concrete/controllers/single_page/dashboard/system/registration/automated_logout.php
protected function invalidateSessions()
    {
        // Save the configuration that invalidates sessions
        $this->config->save(self::ITEM_SESSION_INVALIDATE, Carbon::now('utc')->getTimestamp());

        // Invalidate the current session explicitly so that we get back to the login page with a nice error message
        $this->app->make('session')->invalidate();
    }
protected function invalidateSessions()
    {
        // Save the configuration that invalidates sessions
        $this->config->save(self::ITEM_SESSION_INVALIDATE, Carbon::now('utc')->getTimestamp());

        // Invalidate the current session explicitly so that we get back to the login page with a nice error message
        $this->app->make('session')->invalidate();
    }
protected function invalidateSessions ( ) { // Save the configuration that invalidates sessions $ this -> config -> save ( self :: ITEM_SESSION_INVALIDATE , Carbon :: now ( 'utc' ) -> getTimestamp ( ) ) ; // Invalidate the current session explicitly so that we get back to the login page with a nice error message $ this -> app -> make ( 'session' ) -> invalidate ( ) ; }
Invalidate all user sessions

@todo move this to a proper service class that manages common user functions
like registration `$user->registration->register()` and locating the logged in user `$user->loggedIn()->getID()`
Invalidate all user sessions