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/07/14 16:58:46 UTC
airavata-php-gateway git commit: AIRAVATA-1768 Adding server side
email validation
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 <sc...@apache.org>
Authored: Tue Jul 14 20:28:26 2015 +0530
Committer: Supun Nakandala <sc...@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);