line 72 and next 2 lines from the current module source should become:

//local tab for registration form
if (variable_get('user_register', 1)) {
$items[] = array('path' => 'toboggan/register', 'title' => t('register'), 'callback' => '_logintoboggan_register',
'access' => $user->uid == 0 && variable_get('user_register', 1), 'type' => MENU_LOCAL_TASK, 'weight' => 2);
}

in order to respect the Public registration on/off Drupal setting.

Greetings,
Diman

Comments

hunmonk’s picture

Status: Active » Needs work

please submit your change as a patch in unified diff format, per the patch guidelines in the Drupal Handbook

hunmonk’s picture

Status: Needs work » Fixed

fixed in the latest version of the module

Anonymous’s picture

Status: Fixed » Closed (fixed)