Skip to content
Snippets Groups Projects
Unverified Commit 50ca339a authored by Mateu Aguiló Bosch's avatar Mateu Aguiló Bosch
Browse files

fix: drop cookie auth provider

parent 2df072cb
No related branches found
No related tags found
No related merge requests found
......@@ -6,4 +6,4 @@ jsonrpc.handler:
requirements:
_permission: 'use jsonrpc services'
options:
_auth: ['cookie', 'basic_auth', 'oauth2']
_auth: ['basic_auth', 'oauth2']
......@@ -25,9 +25,6 @@ class AddPermissionToRole extends UserPermissionsBase {
/**
* {@inheritdoc}
*
* @throws \Drupal\jsonrpc\Exception\JsonRpcException
* In case of error.
*/
public function execute(ParameterBag $params) {
$permission = $params->get('permission');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment