From 577dac98022f8e7107df64f570fd6c1072f32daa Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 16 Jun 2019 16:41:54 -0600 Subject: [PATCH 1/2] Update pixelfed config --- config/pixelfed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/pixelfed.php b/config/pixelfed.php index cae06020..7356fb2e 100644 --- a/config/pixelfed.php +++ b/config/pixelfed.php @@ -246,7 +246,7 @@ return [ | */ 'user_invites' => [ - 'enabled' => env('PF_USER_INVITES', false), + 'enabled' => false, //env('PF_USER_INVITES', false), 'limit' => [ 'total' => (int) env('PF_USER_INVITES_TOTAL_LIMIT', 0), 'daily' => (int) env('PF_USER_INVITES_DAILY_LIMIT', 0), From 8aa8a07ef4bfd01f46da46f8fba2a148f0b8fd51 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 16 Jun 2019 16:42:07 -0600 Subject: [PATCH 2/2] Update web routes --- routes/web.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/routes/web.php b/routes/web.php index 6f54cf5d..4f95d35f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -225,6 +225,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact '2fa/recovery-codes', 'SettingsController@securityTwoFactorRecoveryCodesRegenerate' ); + }); Route::get('applications', 'SettingsController@applications')->name('settings.applications')->middleware('dangerzone'); @@ -238,10 +239,16 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('labs', 'SettingsController@labs')->name('settings.labs'); Route::post('labs', 'SettingsController@labsStore'); + Route::get('accessibility', 'SettingsController@accessibility')->name('settings.accessibility'); + Route::post('accessibility', 'SettingsController@accessibilityStore'); + Route::group(['prefix' => 'relationships'], function() { Route::redirect('/', '/settings/relationships/home'); Route::get('home', 'SettingsController@relationshipsHome')->name('settings.relationships'); }); + Route::get('invites/create', 'UserInviteController@create')->name('settings.invites.create'); + Route::post('invites/create', 'UserInviteController@store'); + Route::get('invites', 'UserInviteController@show')->name('settings.invites'); }); Route::group(['prefix' => 'site'], function () {