Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 09d14561c -> d836aafc6


updating the password 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/3bf60f25
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/3bf60f25
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/3bf60f25

Branch: refs/heads/master
Commit: 3bf60f25355f220808202379012592da5c895d66
Parents: f6af261
Author: scnakandala <[email protected]>
Authored: Mon Oct 26 17:33:37 2015 -0400
Committer: scnakandala <[email protected]>
Committed: Mon Oct 26 17:33:37 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/3bf60f25/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php 
b/app/controllers/AccountController.php
index 3c617d6..e125b51 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-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[@!$#%*]).*$/",
             "confirm_password" => "required|same:password",
             "email" => "required|email",
         );

Reply via email to