src/PeskyCMF/Auth/CmfAuthModule.php
public function logoutCurrentUser() {
        $this->getAuthGuard()->logout();
        \Session::remove($this->originalUserFromLoginAsActionSessionKey);
        \Session::invalidate();
        $this->getCmfConfig()->resetLocale();
    }
public function logoutCurrentUser() {
        $this->getAuthGuard()->logout();
        \Session::remove($this->originalUserFromLoginAsActionSessionKey);
        \Session::invalidate();
        $this->getCmfConfig()->resetLocale();
    }
Logout current user, invalidate session and reset locale