Browse Source

update unique username

pull/1/head
wahyuun 10 months ago
parent
commit
352c9fc74a
  1. 3
      app/Http/Controllers/HumanResourceController.php

3
app/Http/Controllers/HumanResourceController.php

@ -22,7 +22,8 @@ class HumanResourceController extends Controller
'name' => 'required',
'ktp_number' => 'required|string|unique:m_users,ktp_number',
'employee_type' => 'required',
'company_id' => 'required'
'company_id' => 'required',
'username' => 'unique:m_users,username'
]);
$data = $request->all();

Loading…
Cancel
Save