Skip to content

Commit

Permalink
change function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mh-Asmi committed Aug 11, 2023
1 parent 52a9a1b commit f206a3b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ public function __invoke(Action $action)
* @var RegisterCommand $action
*/
$this->isSupported($action);
$this->checkDisapleRegisteration();
$this->checkDisableRegisteration();
return $this->user_repository->create($action->getUserEntity());
}

private function checkDisapleRegisteration()
private function checkDisableRegisteration()
{
if (Feature::isEnabled('disable_registration')
&& $this->getSite()->getSiteConfig('disable_registration', false)
Expand Down

0 comments on commit f206a3b

Please sign in to comment.