eye4web / e4w-zfc-user-redirect-url
Changes the default redirect behaviour of ZfcUser from using routes to using URL's in the redirect param.
Installs: 37 643
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 7
Open Issues: 1
Requires
- php: ~5.3|~7.0
- zf-commons/zfc-user: ~1.2
Requires (Dev)
- phpunit/phpunit: ~4.0.0
- squizlabs/php_codesniffer: ~2.0.0@DEV
This package is not auto-updated.
Last update: 2024-11-12 15:02:52 UTC
README
Introduction
This module changes the redirect behavior of ZfcUser to use url's instead of routes. The redirect URL is matched against a whitelist. Localhost and current domain are whitelisted by default.
Installation
With composer
-
Add this project composer.json:
"require": { "eye4web/e4w-zfc-user-redirect-url": "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( // ... 'E4W\ZfcUser\RedirectUrl' ), // ... );
-
Copy config/e4w.zfcuser.redirecturl.global.php.dist to config/autoload/e4w.zfcuser.redirecturl.global.php and add whitelisted domains.