Drupal7 user reset password link not working Hi i have created a custom hook in my own themeplate

function mytheme_theme() {
  $items = array();

  $items['user_pass'] = array(
    'render element' =&gt; 'form',
    'path' =&gt; drupal_get_path('theme', 'mytheme') . '/templates',
    'template' =&gt; 'user-reset',
    'preprocess functions' =&gt; array(
      'mytheme_preprocess_user_pass'
    ),
  );
  return $items;
}

function mytheme_preprocess_user_pass(&amp;$vars) {
  $vars['intro_text'] = t('This is my super awesome reg form');
}


This is the code in user-reset.tpl.php

&lt;p&gt;&lt;?php print render($intro_text); ?&gt;&lt;/p&gt;
&lt;div class="yourtheme-user-login-form-wrapper"&gt;
  &lt;?php print drupal_render_children($form) ?&gt;
&lt;/div&gt;


after the user register. an activation link will send to the user email 
example: http://www.mysite.com/user/reset/98/1366527945/qr6sEqrJwpWjQ11sxQPpitIHosg3_-Iv1s08yrKlnYk

Problem is: 

When user trying to click the link, the page give me an error "The page isn't redirecting properly" 

is there anything i missed on my own theme? 

cherrs
Not sure exactly what is wrong with your code (I will check it out in a min), but if the purpose is just to add some text to the password reset form, I would do it in one of these ways:


Add a custom block with the text you want to add and assign it to the user register page.
Add a custom module and use hook_form_alter to add custom markup. Like so:


/**
 * Implements hook_form_FORM_ID_alter().
 */
function MYMODULE_form_user_pass_alter(&amp;$form, &amp;$form_state) {
  $form['intro_text'] = array(
    '#markup' =&gt; '&lt;p class="intro-text"&gt;' . t('This is my super awesome reg form') . '&lt;/p&gt;',
    '#weight' =&gt; -10,
  );
}