You are here

function saml_sp_user_login in SAML Service Provider 7.8

Implements hook_user_login

File

./saml_sp.module, line 687
SAML Service Provider

Code

function saml_sp_user_login(&$edit, $account) {

  // Redirecting user to desired path
  if (isset($edit['redirect']) && !empty($edit['redirect'])) {
    drupal_goto($edit['redirect']);
  }
}