Deactivate Securitycomponent - Cakephp + Croogo

Asked

Viewed 28 times

2

I am developing a plugin for Croogo, and need to create only one more field text, nodes.

The field appears in the Nodes tabs and is ok, but my problem is when I am saving the data, a security error message appears:

Security error

The requested address was not found on this server.

Request lost due to violation of "auth"

It would be possible to disable it with:

$this->Security->unlockedActions[] = 'admin_toggle';

However, it is not possible to do this directly on Nodes/Nodescontroller.php, because Croogo is installed via Composer, so I need to do this through my plugin. But how?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.