Index: netforum_authentication.module =================================================================== --- netforum_authentication.module (revision 60) +++ netforum_authentication.module (working copy) @@ -167,9 +167,9 @@ } } else { - $form_state = array(); - $edit = user_load($uid); //TODO: this user edit load isn't pulling the right form and instead throws errors - return drupal_get_form('user_edit_form', $form_state, $uid, $edit, FALSE); + include_once drupal_get_path('module', 'user') . '/user.pages.inc'; + $edit = user_load($uid); + return user_edit($edit); } }