Add the database in Auth by Db
This commit is contained in:
parent
975332bdd0
commit
fcaa39e301
@ -60,8 +60,8 @@ class Scores_Auth_Adapter_Db implements Zend_Auth_Adapter_Interface
|
||||
|
||||
$sql = $userM->select()
|
||||
->setIntegrityCheck(false)
|
||||
->from(array('u'=>'utilisateurs'), array('u.idClient', 'u.id', 'u.login', 'u.password'))
|
||||
->join(array('c'=>'clients'), 'u.idClient = c.id', array('c.timeout'))
|
||||
->from(array('u'=>'sdv1.utilisateurs'), array('u.idClient', 'u.id', 'u.login', 'u.password'))
|
||||
->join(array('c'=>'sdv1.clients'), 'u.idClient = c.id', array('c.timeout'))
|
||||
->where('u.login=?', $this->_username)
|
||||
->where('u.actif=?', 1)
|
||||
->where('u.deleted=?', 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user