--- invite.module.orig	2009-12-04 15:44:22.000000000 +0100
+++ invite.module	2009-12-04 15:44:30.000000000 +0100
@@ -324,7 +324,7 @@ function invite_accept($invite) {
 
   if (!$user->uid && invite_validate($invite)) {
     $_SESSION[INVITE_SESSION] = $invite->reg_code;
-    drupal_goto('user/register');
+    drupal_goto(variable_get('invite_registration_path', 'user/register'));
   }
 
   drupal_goto();
--- invite_admin.inc.orig	2009-12-04 15:43:55.000000000 +0100
+++ invite_admin.inc	2009-12-04 15:44:13.000000000 +0100
@@ -40,6 +40,12 @@ function invite_settings() {
     '#multiple' => FALSE,
     '#required' => TRUE,
   );
+  $form['general']['invite_registration_path'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Path to registration page'),
+    '#default_value' => variable_get('invite_registration_path', 'user/register'),
+    '#description' => t('Path to the registration page for invited users. Useful when using the <em>Assign from Path</em> option of the module <a href="http://drupal.org/project/autoassignrole">Auto Assign Roles</a>'),
+  );
 
   // Role settings.
   $form['role'] = array(
