Skip to content

Commit

Permalink
add getDefaultUserStatus method #14
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost committed Sep 26, 2023
1 parent 0672f03 commit d955446
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/model/website.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ public function getUrl() : string
return $this->_config->url;
}

public function getDefaultUserStatus() : bool
{
return $this->_config->default->user->status;
}

public function getDefaultUserApproved() : bool
{
return $this->_config->default->user->approved;
Expand Down

0 comments on commit d955446

Please sign in to comment.