Signin Redirect

Component ID

2180119

Component name

Signin Redirect

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

* Per role redirect after signin.
* Always obey destination query parameter.
* Do not touch the OTL user_profile_form.
* Do not touch the registration form.
* User gets redirected to according to first role match. Ordering in the config is important.

// Assuming the Editor role has rid of 3 in this example.
$conf['signin_redirect_rid_redirect_map'] = array(
  3 => 'admin/workbench',
);

TODO:

Forms other than user/login.