mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-23 00:33:18 +01:00
Refresh twofaccounts count after group assignment
This commit is contained in:
parent
ca4b16a7cc
commit
6bc3f74459
@ -151,6 +151,7 @@ public function assign($ids, Group $group = null) : void
|
||||
$twofaccounts = TwoFAccount::find($ids);
|
||||
|
||||
$group->twofaccounts()->saveMany($twofaccounts);
|
||||
$group->loadCount('twofaccounts');
|
||||
|
||||
Log::info(sprintf('Twofaccounts #%s assigned to groups %s', implode(',#', $ids), var_export($group->name, true)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user