mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update config
This commit is contained in:
parent
030ec4b825
commit
98a40506f5
1 changed files with 19 additions and 0 deletions
|
@ -238,6 +238,25 @@ return [
|
|||
*/
|
||||
'optimize_video' => env('PF_OPTIMIZE_VIDEOS', true),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| User invites
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Allow users to invite others via email.
|
||||
| Will respect max user limit and prevent invites after the
|
||||
| limit is reached. Default: off
|
||||
|
|
||||
*/
|
||||
'user_invites' => [
|
||||
'enabled' => env('PF_USER_INVITES', false),
|
||||
'limit' => [
|
||||
'total' => (int) env('PF_USER_INVITES_TOTAL_LIMIT', 0),
|
||||
'daily' => (int) env('PF_USER_INVITES_DAILY_LIMIT', 0),
|
||||
'monthly' => (int) env('PF_USER_INVITES_MONTHLY_LIMIT', 0),
|
||||
]
|
||||
],
|
||||
|
||||
|
||||
'media_types' => env('MEDIA_TYPES', 'image/jpeg,image/png,image/gif'),
|
||||
'enforce_account_limit' => env('LIMIT_ACCOUNT_SIZE', true),
|
||||
|
|
Loading…
Reference in a new issue