Browse Source

add getDefaultUserStatus method #14

main
ghost 1 year ago
parent
commit
d955446b99
  1. 5
      src/app/model/website.php

5
src/app/model/website.php

@ -24,6 +24,11 @@ class AppModelWebsite @@ -24,6 +24,11 @@ class AppModelWebsite
return $this->_config->url;
}
public function getDefaultUserStatus() : bool
{
return $this->_config->default->user->status;
}
public function getDefaultUserApproved() : bool
{
return $this->_config->default->user->approved;

Loading…
Cancel
Save