If the e-mail address is the same, why not re-enable the account? Or do you want the account to appear "new" with nothing attached to it?
--
-Hector
If that's the case, you will either need to hard-delete the old account, or subclass Zend_Auth_Adapter_DbTable:
<?php
require_once 'Zend/Auth/Adapter/DbTable';
class My_Db_Select extends Zend_Auth_Adapter_DbTable
{
protected function _authenticateCreateSelect()
{
$dbSelect = parent::_authenticateCreateSelect();
$dbSelect->where('deleted = ?', 0);
return $dbSelect;
}
}
On Wed, Oct 15, 2008 at 3:25 PM, aSecondWill <willjbarker@gmail.com> wrote:
Hi, Yes. Im basicly using email address as the username.
Hector Virgen wrote:
>
> When you re-add "peter", are you creating a new record for the username
> peter?
> -Hector
>
--
View this message in context: http://www.nabble.com/Zend_Auth_Adapter_DbTable-additional-checks-tp19987253p20003303.html
Sent from the Zend Auth mailing list archive at Nabble.com.
--
-Hector
没有评论:
发表评论