You are here

function masquerade_user_submit in Masquerade 7

Submit handler for masquerade users form element.

1 string reference to 'masquerade_user_submit'
masquerade_form_user_profile_form_alter in ./masquerade.module
Implements hook_form_FORM_ID_alter().

File

./masquerade.module, line 491
The masquerade module allows administrators to masquerade as other user.

Code

function masquerade_user_submit(&$form, $form_state) {
  global $_masquerade_old_session_id;
  $_masquerade_old_session_id = session_id();
}