I'm using LoginToboggan module, that allow users in database to not belong to the authenticated user role until they validate the account.
I want to be able to redirect only validated users (those with authenticated user role).
I made this little change to the login_destination.module at line 375 to allow this:
function _login_destination_role_options() {
// user role selection, without anonymous and authentificated user roles.
$role_options = array_map('check_plain', user_roles(TRUE));
//unset($role_options[DRUPAL_AUTHENTICATED_RID]); Allow authenticated user role
return $role_options;
}
Perhaps you can include this change for the next release.
Thank you for this useful module.
Best regards,
juanmiguelsosso
Binary Factory
Comments
Comment #1
perennial.sky commentedHere is the patch.
Comment #3
perennial.sky commented