tinkering to no avail

This commit is contained in:
Godfrey M
2022-09-13 11:40:10 -07:00
parent 28bc97f29f
commit 9b448227f7
4 changed files with 479 additions and 477 deletions
@@ -133,6 +133,7 @@ class UsersController extends Controller
if ($user->save()) {
if ($request->filled('groups')) {
$user->groups()->sync($request->input('groups'));
} else {
$user->groups()->sync([]);