eye4web / eye4web-zfc-user-force-logout
Adds the functionality to force a user to logout.
0.0.1
2014-09-04 12:46 UTC
Requires
- php: ~5.4
- zf-commons/zfc-user: ~1.2
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- doctrine/doctrine-orm-module: 0.*
- phpmd/phpmd: 1.4.*
- phpunit/phpunit: 4.*
- squizlabs/php_codesniffer: 1.5.*
This package is not auto-updated.
Last update: 2024-11-05 04:14:24 UTC
README
Introduction
This module will force log the user to log out if the flag is set in database
Installation
With composer
-
Add this project composer.json:
"require": { "eye4web/eye4web-zfc-user-force-logout": "dev-master" }
-
Now tell composer to download the module by running the command:
$ php composer.phar update
-
Enable it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'Eye4web\ZfcUser\ForceLogout' ), // ... );
-
Make your user entity implement
Eye4web\ZfcUser\ForceLogout\Entity\UserForceLogoutInterface