fixed bug in authenticationService
This commit is contained in:
parent
bd7e404a5f
commit
911e7d4043
|
@ -46,10 +46,12 @@ class AuthenticationService
|
|||
return true;
|
||||
}
|
||||
|
||||
// view::Dump($e->getRouteMatch()->getMatchedRouteName() . ":" . $controller."-".$action,false);
|
||||
//view::Dump($e->getRouteMatch()->getMatchedRouteName() . ":" . $controller."-".$action,false);
|
||||
|
||||
if($rsp = $this->preCookieCheck($e) !== false)
|
||||
{
|
||||
return $rsp;
|
||||
}
|
||||
|
||||
try{
|
||||
if(!$this->acl->hasResource($controller))
|
||||
|
@ -116,11 +118,9 @@ class AuthenticationService
|
|||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public function response($e)
|
||||
{
|
||||
|
|
|
@ -23,7 +23,8 @@ class Auth
|
|||
|
||||
public function clearIndentity()
|
||||
{
|
||||
return $this->auth->clearIdentity();
|
||||
$this->auth->clearIdentity();
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getIdentity($field = "")
|
||||
|
|
Loading…
Reference in New Issue