用户登录及分站重写cookie
This commit is contained in:
parent
1563870c5e
commit
65fc779e54
|
@ -76,10 +76,9 @@ class Users extends \Zend_Controller_Plugin_Abstract
|
|||
|
||||
$auth = \Zend_Auth::getInstance();
|
||||
|
||||
if($auth->getStorage()->write($user))
|
||||
$auth->getStorage()->write($user);
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue