Replace REGISTER_* constants by Module\Register::* ones
This commit is contained in:
@@ -34,7 +34,7 @@ return [
|
||||
'config' => [
|
||||
'admin_email' => '',
|
||||
'sitename' => 'Friendica Social Network',
|
||||
'register_policy' => REGISTER_OPEN,
|
||||
'register_policy' => \Friendica\Module\Register::OPEN,
|
||||
'register_text' => '',
|
||||
],
|
||||
'system' => [
|
||||
|
||||
@@ -16,10 +16,11 @@ return [
|
||||
'info' => '',
|
||||
|
||||
// register_policy (Constant)
|
||||
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
|
||||
// Be certain to create your own personal account before setting REGISTER_CLOSED.
|
||||
// REGISTER_APPROVE requires you set system.admin_email to the email address of an already registered person who can authorize and/or approve/deny the request.
|
||||
'register_policy' => REGISTER_CLOSED,
|
||||
// Your choices are OPEN, APPROVE, or CLOSED.
|
||||
// Be certain to create your own personal account before setting CLOSED.
|
||||
// APPROVE requires you set system.admin_email to the email address of an
|
||||
// already registered person who can authorize and/or approve/deny the request.
|
||||
'register_policy' => \Friendica\Module\Register::CLOSED,
|
||||
|
||||
// register_text (String)
|
||||
// Will be displayed prominently on the registration page.
|
||||
|
||||
Reference in New Issue
Block a user