Skip to content

Change the redirect behaviour of ZfcUser to use URL's insteaf or routes in the redirect param

License

Notifications You must be signed in to change notification settings

Eye4web/E4WZfcUserRedirectUrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E4WZfcUserRedirectUrl

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

  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.

    <?php
    return array(
        'modules' => array(
            // ...
            'E4W\ZfcUser\RedirectUrl'
        ),
        // ...
    );
  4. Copy config/e4w.zfcuser.redirecturl.global.php.dist to config/autoload/e4w.zfcuser.redirecturl.global.php and add whitelisted domains.

About

Change the redirect behaviour of ZfcUser to use URL's insteaf or routes in the redirect param

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages