You are here

function tokenauth_user_update in Token authentication 7

Implements hook_user_update().

File

./tokenauth.module, line 168

Code

function tokenauth_user_update(&$edit, $account, $category = NULL) {
  if (isset($account->tokenauth_token)) {
    tokenauth_reset_user($account->uid, $account->tokenauth_token);
  }
}