Skip to content

Commit

Permalink
refs #407 Create user required select companies
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Jul 9, 2018
1 parent eec7c02 commit 7478cec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Requests/Auth/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function rules()
'name' => 'required|string',
'email' => 'required|email|unique:users,email,' . $id . ',id,deleted_at,NULL',
'password' => $required . 'confirmed',
'companies' => 'required',
'roles' => 'required',
'picture' => 'mimes:' . setting('general.file_types') . '|between:0,' . setting('general.file_size') * 1024,
];
Expand Down

0 comments on commit 7478cec

Please sign in to comment.