Skip to content
Permalink
Browse files
Removing restriction on username while admin creates gateway
  • Loading branch information
Sneha Tilak committed Jul 6, 2017
1 parent 14ee6e5 commit 77914bca92c2debc90de0a54621c571a902750d4
Showing 1 changed file with 0 additions and 2 deletions.
@@ -437,7 +437,6 @@ public function addGateway(){
$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 @@ public function addGateway(){
);

$checkValidation = array();
$checkValidation["username"] = $inputs["admin-username"];
$checkValidation["password"] = $inputs["admin-password"];
$checkValidation["confirm_password"] = $inputs["admin-password-confirm"];
$checkValidation["email"] = $inputs["admin-email"];

0 comments on commit 77914bc

Please sign in to comment.