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
Comment #1
hunmonk commentedplease submit your change as a patch in unified diff format, per the patch guidelines in the Drupal Handbook
Comment #2
hunmonk commentedfixed in the latest version of the module
Comment #3
(not verified) commented