I added in autoassignrole.module the following:

unset($roles[DRUPAL_AUTHENTICATED_RID]); // wnb - fix to remove authenticated user

See below for placement:

case 'register':
if (_autoassignrole_settings('user_active') == 1) {
$form['autoassignrole_user'] = array(
'#type' => 'fieldset',
'#title' => _autoassignrole_settings('user_fieldset_title'),
'#collapsible' => FALSE,
'#collapsed' => FALSE,
);
$roles = user_roles(TRUE);
unset($roles[DRUPAL_AUTHENTICATED_RID]); // wnb - fix to remove authenticated user
$user_roles = _autoassignrole_settings('user_roles');

Comments

introfini’s picture

Please take a look at this:

http://drupal.org/node/384702#comment-1341068

introfini

a_c_m’s picture

Status: Active » Closed (duplicate)