eye4web/eye4web-zfc-user-force-logout

Adds the functionality to force a user to logout.

0.0.1 2014-09-04 12:46 UTC

This package is not auto-updated.

Last update: 2024-10-22 04:00:46 UTC


README

Build Status Latest Stable Version Latest Unstable Version Code Climate Test Coverage Total Downloads License

Introduction

This module will force log the user to log out if the flag is set in database

Installation

With composer

  1. Add this project composer.json:

    "require": {
        "eye4web/eye4web-zfc-user-force-logout": "dev-master"
    }
  2. Now tell composer to download the module by running the command:

    $ php composer.phar update
  3. Enable it in your application.config.php file.

    <?php
    return array(
        'modules' => array(
            // ...
            'Eye4web\ZfcUser\ForceLogout'
        ),
        // ...
    );
  4. Make your user entity implement Eye4web\ZfcUser\ForceLogout\Entity\UserForceLogoutInterface