Admin dashboard accessible without login critical bugfix

Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/6a0a897c
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/6a0a897c
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/6a0a897c

Branch: refs/heads/master
Commit: 6a0a897c26bf187e34975804b7c3d42a8bd7970d
Parents: e675d4d
Author: Nipurn Doshi <[email protected]>
Authored: Wed Jan 27 13:24:31 2016 -0500
Committer: Nipurn Doshi <[email protected]>
Committed: Wed Jan 27 13:24:31 2016 -0500

----------------------------------------------------------------------
 app/controllers/AdminController.php | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6a0a897c/app/controllers/AdminController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AdminController.php 
b/app/controllers/AdminController.php
index 6930d15..5b40f86 100644
--- a/app/controllers/AdminController.php
+++ b/app/controllers/AdminController.php
@@ -4,6 +4,7 @@ class AdminController extends BaseController {
 
        public function __construct()
        {
+               $this->beforeFilter('verifyadmin');
                Session::put("nav-active", "user-console");
        }
 

Reply via email to