Commit 4c947ad22c52b6c09674c6187be1d273c2b8e1a8

Authored by Alex Savenko
1 parent 3e5598de

email validation

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/library/App/Controllers/UserController.php
... ... @@ -126,6 +126,7 @@ class UserController extends CrudResourceController
126 126  
127 127 if (isset($data[$email_field])) {
128 128  
  129 + throw new Exception('777', $data[$email_field]);
129 130 $message = $validation->validate($data[$email_field]);
130 131  
131 132 if (count($message)) {
... ...