parent
c23c7a5fa9
commit
9aa1599a18
|
@ -951,8 +951,7 @@ class Form extends Zend_Form
|
|||
if (! $this->tokenDisabled) {
|
||||
$request = $this->getRequest();
|
||||
if (! $request->isXmlHttpRequest()
|
||||
&& ($user = $request->getUser()) !== null
|
||||
&& $user->getIsHttpUser()
|
||||
&& $request->getIsApiRequest()
|
||||
) {
|
||||
return $this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue