Commit 427c38b9fc88a209c02ef0fb74a4084c56b5c410

Authored by Alex Savenko
1 parent 086b545c

email validation

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/library/App/Controllers/UserController.php
@@ -130,7 +130,7 @@ class UserController extends CrudResourceController @@ -130,7 +130,7 @@ class UserController extends CrudResourceController
130 130
131 if (count($message)) { 131 if (count($message)) {
132 throw new Exception(ErrorCodes::DATA_FAILED, 'Unable to create item', [ 132 throw new Exception(ErrorCodes::DATA_FAILED, 'Unable to create item', [
133 - 'messages' => $message, 133 + 'messages' => var_dump($message),
134 'data' => $data[$email_field] 134 'data' => $data[$email_field]
135 ]); 135 ]);
136 } 136 }