Update Module Users
- Fix Form Validation for Check Password, if null password not changed - Update Validation NIK on Update user data - Fix Role Not Assign if value is id not role name - Change User Migration, change password field to nullable
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="switch switch-sm">
|
||||
<input {{ in_array($role->name,Auth()->user()->roles->pluck('name')->toArray()) ? 'checked' : '' }} name="roles" type="radio" value="{{ $role->id }}">
|
||||
<input {{ in_array($role->name,Auth()->user()->roles->pluck('name')->toArray()) ? 'checked' : '' }} name="roles" type="radio" value="{{ $role->name }}">
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user