function _bakery_login_redirect in Bakery Single Sign-On System 7.2
Same name and namespace in other branches
- 8.2 bakery.module \_bakery_login_redirect()
Redirect back to a subsite after login.
1 string reference to '_bakery_login_redirect'
- bakery_form_alter in ./
bakery.module - Implements hook_form_alter().
File
- ./
bakery.module, line 538 - Module file for the Bakery.
Code
function _bakery_login_redirect($form, &$form_state) {
if ($bd = bakery_get_destination()) {
$form_state['redirect'] = $bd;
}
}