application-user: set manuallyApprovesFollowers to true

This commit is contained in:
André Menrath 2023-12-23 22:25:22 +01:00
parent e915b7af8b
commit de3335bcda

View file

@ -29,6 +29,13 @@ class Application_User extends Blog_User {
*/ */
protected $discoverable = false; protected $discoverable = false;
/**
* The instance actor by default must manually approve all followers.
*
* @var boolean
*/
protected $manually_approves_followers = true;
/** /**
* Get the User-Url. * Get the User-Url.
* *
@ -52,7 +59,7 @@ class Application_User extends Blog_User {
} }
public function get_preferred_username() { public function get_preferred_username() {
return $this::get_name(); return $this->get_name();
} }
public function get_followers() { public function get_followers() {