/[drupal]/contributions/modules/phpass/phpass.module
ViewVC logotype

Diff of /contributions/modules/phpass/phpass.module

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

revision 1.1.2.8, Tue Jun 24 04:12:01 2008 UTC revision 1.1.2.9, Fri Jun 27 14:59:39 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: phpass.module,v 1.1.2.7 2008/05/21 13:49:21 douggreen Exp $  // $Id: phpass.module,v 1.1.2.8 2008/06/24 04:12:01 douggreen Exp $
3    
4  /**  /**
5   * phpass Module   * phpass Module
# Line 150  function _phpass_user_authenticate($user Line 150  function _phpass_user_authenticate($user
150      }      }
151    
152      // check if the password matches the old md5 hash      // check if the password matches the old md5 hash
153      elseif ($userpass->pass) {      if ($userpass->pass) {
154        if ($userpass->pass == md5($pass)) {        if ($userpass->pass == md5($pass)) {
155          _phpass_save($userpass->uid, $pass);          _phpass_save($userpass->uid, $pass);
156          _phpass_load($userpass);          _phpass_load($userpass);

Legend:
Removed from v.1.1.2.8  
changed lines
  Added in v.1.1.2.9

  ViewVC Help
Powered by ViewVC 1.1.2