Changeset 29496 for events/phpframework

Show
Ignore:
Timestamp:
02/03/09 20:53:33 (5 years ago)
Author:
heavenshell
Message:

Add setCredentialTreatment()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/zend_framework/trunk/app/modules/index/services/Users.php

    r29137 r29496  
    416416        } 
    417417        $authAdapter = new Zend_Auth_Adapter_DbTable($this->_dbAdapter, 'users' , $column, 'password'); 
    418         $authAdapter->setIdentity($value) 
     418        $authAdapter->setCredentialTreatment('? AND delete_flag = "0"') 
     419                    ->setIdentity($value) 
    419420                    ->setCredential($password); 
    420421