mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-19 19:28:08 +02:00
Fix default group not being defined correctly
This commit is contained in:
parent
923ff04e3c
commit
d537c98b76
@ -180,7 +180,7 @@ class GroupService
|
||||
*/
|
||||
private function defaultGroup()
|
||||
{
|
||||
$id = $this->settingService->get('defaultGroup') === '-1' ? (int) $this->settingService->get('activeGroup') : (int) $this->settingService->get('defaultGroup');
|
||||
$id = $this->settingService->get('defaultGroup') === -1 ? (int) $this->settingService->get('activeGroup') : (int) $this->settingService->get('defaultGroup');
|
||||
|
||||
return Group::find($id);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user