Commit 0548511bc06b90543024f724dea6f8855370c28a

Authored by Alex Savenko
1 parent 6c48a95f

registration

Showing 1 changed file with 0 additions and 5 deletions   Show diff stats
app/library/App/Controllers/UserController.php
... ... @@ -95,11 +95,6 @@ class UserController extends CrudResourceController
95 95 $result[$key] = $this->transformPostDataValue($key, $value, $data);
96 96 }
97 97  
98   - if (!empty($result))
99   - {
100   - $result['role'] = 'User';
101   - }
102   -
103 98 return $result;
104 99 }
105 100  
... ...