function hook_user_login

Perform actions when the user logs in successfully.

Notice that $account is passed by reference. You may make whatever changes you wish to this object.

File

includes/hook.api.php, line 527
Lists all available hooks within FlightPath's core code.

Code

function hook_user_login(&$account) {
  if ($account->uid = 9) {
    $account->this_is_jeff = TRUE;
  }
}