mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 03:38:06 +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()
|
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);
|
return Group::find($id);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user