/[drupal]/drupal/modules/user/user.module
ViewVC logotype

Diff of /drupal/modules/user/user.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.745.2.35 by drumm, Wed Oct 8 20:10:26 2008 UTC revision 1.745.2.36 by drumm, Wed Sep 16 19:33:40 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: user.module,v 1.745.2.34 2008/09/15 06:06:27 drumm Exp $  // $Id: user.module,v 1.745.2.35 2008/10/08 20:10:26 drumm Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 1149  function user_pass_reset($uid, $timestam Line 1149  function user_pass_reset($uid, $timestam
1149            $user = $account;            $user = $account;
1150            // And proceed with normal login, going to user page.            // And proceed with normal login, going to user page.
1151            $edit = array();            $edit = array();
1152              // Regenerate the session ID to prevent against session fixation attacks.
1153              sess_regenerate();
1154            user_module_invoke('login', $edit, $user);            user_module_invoke('login', $edit, $user);
1155            drupal_set_message(t('You have just used your one-time login link. It is no longer necessary to use this link to login. Please change your password.'));            drupal_set_message(t('You have just used your one-time login link. It is no longer necessary to use this link to login. Please change your password.'));
1156            drupal_goto('user/'. $user->uid .'/edit');            drupal_goto('user/'. $user->uid .'/edit');

Legend:
Removed from v.1.745.2.35  
changed lines
  Added in v.1.745.2.36

  ViewVC Help
Powered by ViewVC 1.1.3