You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/02/09 16:55:37 UTC
[09/50] [abbrv] airavata-php-gateway git commit: Admin dashboard
accessible without login critical bugfix
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 <ni...@gmail.com>
Authored: Wed Jan 27 13:24:31 2016 -0500
Committer: Nipurn Doshi <ni...@gmail.com>
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");
}