sintro/login_referer

Plugin to redirect on successful login to url presented in query param 'referer' (if it exists). Param name can be configured with $config['login_referer_param'] option

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type: roundcube-plugin

v1.0.0 2017-07-05 12:43 UTC

README

Roundcube Webmail Plugin Login Referer.

Description

Plugin to redirect to referer url, presented in query param referer on login page (like http://example.com/roundcubemail?referer=http://localhost) If current login page url has no referer param, nothing special will happen. This plugin can be usefull if you use Roundcube's to authenticate in some other system.

Installation

Download and install via http://plugins.roundcube.net Just add

"sintro/login_referer": "~1.0.0"

to your composer.json require section in Roundcube directory and then launch composer.phar install. You can take template composer.json here if you don't have it already.

Configuration

You can set optional referer param name directly in Roundcube's main config file or via host-specific configurations:

$config['login_referer_param'] = 'referer';

Homepage: https://plugins.roundcube.net/packages/sintro/login_referer