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/29 15:04:35 UTC

airavata-php-gateway git commit: changing max password length to 48

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master b079f41ee -> e8f6fc8eb


changing max password length to 48


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

Branch: refs/heads/master
Commit: e8f6fc8eb219552e908ab739d19022869150a434
Parents: b079f41
Author: scnakandala <su...@gmail.com>
Authored: Thu Oct 29 10:04:30 2015 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Thu Oct 29 10:04:30 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/e8f6fc8e/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index e125b51..4785316 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-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[@!$#%*]).*$/",
+            "password" => "required|min:6|max:48|regex:/^.*(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[@!$#%*]).*$/",
             "confirm_password" => "required|same:password",
             "email" => "required|email",
         );