/[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.10, Fri Jul 25 15:56:57 2008 UTC revision 1.1.2.11, Tue Oct 7 15:59:13 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: phpass.module,v 1.1.2.9 2008/06/27 14:59:39 douggreen Exp $  // $Id: phpass.module,v 1.1.2.10 2008/07/25 15:56:57 douggreen Exp $
3    
4  /**  /**
5   * phpass Module   * phpass Module
# Line 98  function phpass_form_alter($form_id, &$f Line 98  function phpass_form_alter($form_id, &$f
98  function phpass_user($op, &$edit, &$account, $category = NULL) {  function phpass_user($op, &$edit, &$account, $category = NULL) {
99    switch ($op) {    switch ($op) {
100      case 'submit':      case 'submit':
101        _phpass_save($account->uid, $edit['pass']);        if (!empty($edit['pass'])) {
102        unset($edit['pass']);          _phpass_save($account->uid, $edit['pass']);
103            unset($edit['pass']);
104          }
105        break;        break;
106    }    }
107  }  }

Legend:
Removed from v.1.1.2.10  
changed lines
  Added in v.1.1.2.11

  ViewVC Help
Powered by ViewVC 1.1.2