From 98a40506f510f32248f9f8bf297764ae29af759b Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 22 Feb 2019 11:18:56 -0700 Subject: [PATCH] Update config --- config/pixelfed.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/config/pixelfed.php b/config/pixelfed.php index 98400f51f..618e2cb4a 100644 --- a/config/pixelfed.php +++ b/config/pixelfed.php @@ -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),