Changes the default redirect behaviour of ZfcUser from using routes to using URL's in the redirect param.

0.0.3 2015-12-12 14:00 UTC

This package is not auto-updated.

Last update: 2024-02-20 11:18:55 UTC



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.


With composer

  1. Add this project composer.json:

    "require": {
        "eye4web/e4w-zfc-user-redirect-url": "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.

    return array(
        'modules' => array(
            // ...
        // ...
  4. Copy config/e4w.zfcuser.redirecturl.global.php.dist to config/autoload/e4w.zfcuser.redirecturl.global.php and add whitelisted domains.