用户登录及分站重写cookie

This commit is contained in:
Li Heng 2013-12-04 07:49:14 +00:00
parent 1563870c5e
commit 65fc779e54
1 changed files with 2 additions and 3 deletions

View File

@ -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;
}