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-11-19 04:21:12 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