airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [22/50] airavata-php-gateway git commit: Removing restriction on username while admin creates gateway
Date Thu, 03 Aug 2017 17:03:13 GMT
Removing restriction on username while admin creates gateway


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

Branch: refs/heads/master
Commit: 77914bca92c2debc90de0a54621c571a902750d4
Parents: 14ee6e5
Author: Sneha Tilak <tilaks@149-160-244-249.dhcp-bl.indiana.edu>
Authored: Thu Jul 6 16:48:18 2017 -0400
Committer: Sneha Tilak <tilaks@149-160-244-249.dhcp-bl.indiana.edu>
Committed: Thu Jul 6 16:48:18 2017 -0400

----------------------------------------------------------------------
 app/controllers/AdminController.php | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/77914bca/app/controllers/AdminController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AdminController.php b/app/controllers/AdminController.php
index 440ef48..4bf52bb 100644
--- a/app/controllers/AdminController.php
+++ b/app/controllers/AdminController.php
@@ -437,7 +437,6 @@ class AdminController extends BaseController {
 		$inputs = Input::all();
 
 		$rules = array(
-            "username" => "required|min:6",
             "password" => "required|min:6|max:48|regex:/^.*(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[@!$#*]).*$/",
             "confirm_password" => "required|same:password",
             "email" => "required|email",
@@ -448,7 +447,6 @@ class AdminController extends BaseController {
         );
 
         $checkValidation = array();
-        $checkValidation["username"] = $inputs["admin-username"];
         $checkValidation["password"] = $inputs["admin-password"];
         $checkValidation["confirm_password"] = $inputs["admin-password-confirm"];
         $checkValidation["email"] = $inputs["admin-email"];


Mime
View raw message