Changeset 593


Ignore:
Timestamp:
Sep 20, 2007 3:50:36 PM (6 years ago)
Author:
dkg
Message:

JPDD: allowing password reset triggers for null passwords; why would that not be OK?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jpdd/class.dkg.site.php

    r592 r593  
    538538      $sql = 'SELECT id, email, '.$this->_users['resetpass'].' AS resetpass, '. 
    539539        '('.$this->_users['resetpass_created'].' + '.$this->escStr($this->_resetpass_expiration.' HOURS').' > NOW()) AS valid '. 
    540         'FROM '.$this->_users['table'].' WHERE '.$this->_users['password'].' IS NOT NULL AND '. 
     540        'FROM '.$this->_users['table'].' WHERE '. 
    541541        (is_null($email) ? 'id = '.(int)$id : $this->_users['username'].' = '.$this->escStr($email)); 
    542542      $vals = $this->getSingletonFromSQL($sql, false); 
Note: See TracChangeset for help on using the changeset viewer.