mirror of
https://github.com/friendica/friendica
synced 2024-11-04 01:47:37 +01:00
Use constants instead of strings for register_policy
This commit is contained in:
parent
833c57cc35
commit
0c21bd488f
|
@ -34,7 +34,7 @@ return [
|
|||
'config' => [
|
||||
'admin_email' => '',
|
||||
'sitename' => 'Friendica Social Network',
|
||||
'register_policy' => 'REGISTER_OPEN',
|
||||
'register_policy' => REGISTER_OPEN,
|
||||
'register_text' => '',
|
||||
],
|
||||
'system' => [
|
||||
|
|
|
@ -19,7 +19,7 @@ return [
|
|||
// 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',
|
||||
'register_policy' => REGISTER_CLOSED,
|
||||
|
||||
// register_text (String)
|
||||
// Will be displayed prominently on the registration page.
|
||||
|
|
|
@ -209,7 +209,7 @@ return [
|
|||
'config' => [
|
||||
'admin_email' => '',
|
||||
'sitename' => 'Friendica Social Network',
|
||||
'register_policy' => 'REGISTER_OPEN',
|
||||
'register_policy' => REGISTER_OPEN,
|
||||
'register_text' => '',
|
||||
],
|
||||
'system' => [
|
||||
|
|
|
@ -31,7 +31,7 @@ return [
|
|||
'config' => [
|
||||
'admin_email' => 'admin@friendica.local',
|
||||
'sitename' => 'Friendica Social Network',
|
||||
'register_policy' => 'REGISTER_OPEN',
|
||||
'register_policy' => REGISTER_OPEN,
|
||||
'register_text' => '',
|
||||
],
|
||||
'system' => [
|
||||
|
|
|
@ -24,7 +24,7 @@ return [
|
|||
'php_path' => '{{$phpath}}',
|
||||
'admin_email' => '{{$adminmail}}',
|
||||
'sitename' => 'Friendica Social Network',
|
||||
'register_policy' => 'REGISTER_OPEN',
|
||||
'register_policy' => REGISTER_OPEN,
|
||||
'max_import_size' => 200000,
|
||||
],
|
||||
'system' => [
|
||||
|
|
Loading…
Reference in a new issue