You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2017/10/10 20:01:34 UTC

[3/4] airavata-php-gateway git commit: AIRAVATA-2557 Fix problem with cancelling request

AIRAVATA-2557 Fix problem with cancelling request


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/b33401e8
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/b33401e8
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/b33401e8

Branch: refs/heads/master
Commit: b33401e854ab069df567741d82e5c3f54f51a972
Parents: 26cf4f0
Author: Marcus Christie <ma...@iu.edu>
Authored: Tue Oct 10 15:24:43 2017 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Tue Oct 10 15:24:43 2017 -0400

----------------------------------------------------------------------
 app/controllers/AdminController.php | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/b33401e8/app/controllers/AdminController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AdminController.php b/app/controllers/AdminController.php
index 6c11dfb..03b67a7 100644
--- a/app/controllers/AdminController.php
+++ b/app/controllers/AdminController.php
@@ -181,11 +181,10 @@ class AdminController extends BaseController {
         $messages = array(
             'password.regex' => 'Password needs to contain at least (a) One lower case letter (b) One Upper case letter and (c) One number (d) One of the following special characters - !@#$&*',
         );
-		$inputs = Input::all();
         $checkValidation = array();
-        $checkValidation["password"] = $inputs["gatewayAdminPassword"];
-        $checkValidation["confirm_password"] = $inputs["gatewayAdminPasswordConfirm"];
-        $checkValidation["email"] = $inputs["gatewayAdminEmail"];
+        $checkValidation["password"] = Input::get("gatewayAdminPassword");
+        $checkValidation["confirm_password"] = Input::get("gatewayAdminPasswordConfirm");
+        $checkValidation["email"] = Input::get("gatewayAdminEmail");
 
         $validator = Validator::make( $checkValidation, $rules, $messages);
         if ($validator->fails()) {