Skip to content

Commit

Permalink
fix: create new backend user with options set to 3 (inherit settings …
Browse files Browse the repository at this point in the history
…from group)
  • Loading branch information
maikschneider committed Dec 12, 2023
1 parent f2ba5a7 commit 545c4e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/UserFactory/BackendUserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ protected function checkBackendGroupRestriction(): bool
'password' => 'string',
'usergroup' => 'string',
'lang' => 'string',
'options' => 'int',
])] public function createBasicBackendUser(): array
{
$saltingInstance = GeneralUtility::makeInstance(PasswordHashFactory::class)->getDefaultHashInstance('BE');
Expand All @@ -302,6 +303,7 @@ protected function checkBackendGroupRestriction(): bool
'username' => '',
'usergroup' => $this->resolver->getOptions()->defaultBackendUsergroup,
'lang' => $this->resolver->getOptions()->defaultBackendLanguage,
'options' => 3,
];
}

Expand Down

0 comments on commit 545c4e0

Please sign in to comment.