airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: adding missing @ sign to password validation reg-ex
Date Mon, 19 Oct 2015 14:09:14 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 2ce44acca -> 24d305131


adding missing @ sign to password validation reg-ex


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

Branch: refs/heads/master
Commit: 24d305131fd61f7440e28bdee0601b5da4a3a7cf
Parents: 2ce44ac
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Oct 19 10:09:07 2015 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Oct 19 10:09:07 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/24d30513/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 04fb072..5287b38 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|regex:/^.*(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[!$#%]).*$/",
+            "password" => "required|min:6|regex:/^.*(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[@!$#%]).*$/",
             "confirm_password" => "required|same:password",
             "email" => "required|email",
         );


Mime
View raw message