You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/10/19 16:09:14 UTC

airavata-php-gateway git commit: adding missing @ sign to password validation reg-ex

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 <su...@gmail.com>
Authored: Mon Oct 19 10:09:07 2015 -0400
Committer: scnakandala <su...@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",
         );