airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [3/3] airavata-php-gateway git commit: adding & sign to the regex
Date Mon, 19 Oct 2015 14:58:05 GMT
adding & sign to the regex


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

Branch: refs/heads/master
Commit: 4e0e4f37b711b45c83e3f8fb734cc25aae196b93
Parents: 80d0ed5
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Oct 19 10:57:20 2015 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Oct 19 10:57:20 2015 -0400

----------------------------------------------------------------------
 app/controllers/AccountController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/4e0e4f37/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index dc1a5ab..a5add17 100755
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -12,7 +12,7 @@ class AccountController extends BaseController
     {
         $rules = array(
             "username" => "required|min:6",
-            "password" => "required|min:6|max:12|regex:/^.*(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[@!$#%]).*$/",
+            "password" => "required|min:6|max:12|regex:/^.*(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[@!$#%&]).*$/",
             "confirm_password" => "required|same:password",
             "email" => "required|email",
         );


Mime
View raw message