You are here

function logintoboggan_user_login in LoginToboggan 7

Same name and namespace in other branches
  1. 8 logintoboggan.module \logintoboggan_user_login()

Implement hook_user_login().

File

./logintoboggan.module, line 1081
LoginToboggan module

Code

function logintoboggan_user_login(&$edit, $account) {
  if (variable_get('logintoboggan_login_successful_message', 0)) {
    drupal_set_message(theme('lt_login_successful_message', array(
      'account' => $account,
    )));
  }
}