You are here

function logintoboggan_init in LoginToboggan 6

Same name and namespace in other branches
  1. 5 logintoboggan.module \logintoboggan_init()

Implementation of hook_init()

Related topics

File

./logintoboggan.module, line 465
Logintoboggan Module

Code

function logintoboggan_init() {
  global $user;

  // Make sure any user with pre-auth role doesn't have authenticated user role
  _logintoboggan_user_roles_alter($user);

  // Add custom css.
  drupal_add_css(drupal_get_path('module', 'logintoboggan') . '/logintoboggan.css');
}