You should implemant the interface Zend_Auth_Adapter_Interface with your own
class.

look at this:

$auth = Zend_Auth::getInstance();
$authAdapter = new Ifang_Auth_Adapter_DbTable($dbAdapter);
$auth->authenticate($authAdapter);

2007/9/20, debussy007 <[EMAIL PROTECTED]>:
>
>
> Hello,
>
> I can see in the doc that Zend_Auth_Adapter_DbTable allows to authenticate
> if a username and password have been given. But in my case I have an extra
> field that allows to know whether the account is active or not.
>
> Is it possible to extend in someway this class and give it an extra field
> to
> check ?
>
> Thank you for any help !
> --
> View this message in context:
> http://www.nabble.com/Zend_Auth-question-tf4484398s16154.html#a12788168
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
广州市一方信息咨询有限公司
地址:广州市 江南大道中 穗花村 三巷12号204
邮编:510245
电话:020-39738561 020-39738571
传真:020-84476279
网站:www.i-fang.com
[EMAIL PROTECTED]

Reply via email to