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: AIRAVATA-1768 Adding server side email validation
Date Tue, 14 Jul 2015 14:58:46 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master c67c09b49 -> a50baf6f4


AIRAVATA-1768 Adding server side email validation


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

Branch: refs/heads/master
Commit: a50baf6f4085bbf10af9dc6c435b449edb8561ae
Parents: c67c09b
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Tue Jul 14 20:28:26 2015 +0530
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Tue Jul 14 20:28:26 2015 +0530

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/a50baf6f/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 7f46a40..6cb1976 100755
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -14,7 +14,7 @@ class AccountController extends BaseController
             "username" => "required|min:6",
             "password" => "required|min:6",
             "confirm_password" => "required|same:password",
-            "email" => "required",
+            "email" => "required|email",
         );
 
         $validator = Validator::make(Input::all(), $rules);


Mime
View raw message