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/08/09 14:50:20 UTC

[21/50] airavata-php-gateway git commit: Removing restriction on username while admin creates gateway

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/dreg-gateway
Commit: 77914bca92c2debc90de0a54621c571a902750d4
Parents: 14ee6e5
Author: Sneha Tilak <ti...@149-160-244-249.dhcp-bl.indiana.edu>
Authored: Thu Jul 6 16:48:18 2017 -0400
Committer: Sneha Tilak <ti...@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"];