eye4web / eye4web-zfc-user-force-logout
Adds the functionality to force a user to logout.
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/eye4web/eye4web-zfc-user-force-logout
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: 2025-10-07 09:09:13 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