From 92b2c5061d4728a359b3c949b91812102caa0896 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 19 Nov 2014 16:33:18 +0100 Subject: [PATCH] Security: Fix redicrect URL --- application/controllers/PermissionsController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/PermissionsController.php b/application/controllers/PermissionsController.php index 8709a28ad..a1b1bb8e2 100644 --- a/application/controllers/PermissionsController.php +++ b/application/controllers/PermissionsController.php @@ -56,7 +56,7 @@ class PermissionsController extends ActionController $role ->setSubmitLabel($this->translate('Create Role')) ->setIniConfig(Config::app('roles', true)) - ->setRedirectUrl('security') + ->setRedirectUrl('permissions') ->handleRequest(); $this->view->form = $role; } @@ -99,7 +99,7 @@ class PermissionsController extends ActionController } return false; }) - ->setRedirectUrl('security') + ->setRedirectUrl('permissions') ->handleRequest(); $this->view->name = $name; $this->view->form = $role; @@ -142,7 +142,7 @@ class PermissionsController extends ActionController )); $confirmation ->setSubmitLabel($this->translate('Remove Role')) - ->setRedirectUrl('security') + ->setRedirectUrl('permissions') ->handleRequest(); $this->view->name = $name; $this->view->form = $confirmation;