From 4c947ad22c52b6c09674c6187be1d273c2b8e1a8 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 8 Feb 2017 21:43:26 +0200 Subject: [PATCH] email validation --- app/library/App/Controllers/UserController.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/library/App/Controllers/UserController.php b/app/library/App/Controllers/UserController.php index 0d1ebde..035707a 100755 --- a/app/library/App/Controllers/UserController.php +++ b/app/library/App/Controllers/UserController.php @@ -126,6 +126,7 @@ class UserController extends CrudResourceController if (isset($data[$email_field])) { + throw new Exception('777', $data[$email_field]); $message = $validation->validate($data[$email_field]); if (count($message)) { -- libgit2 0.21.4