diff --git a/routes/web.php b/routes/web.php index bca45767..5bd5b628 100644 --- a/routes/web.php +++ b/routes/web.php @@ -178,7 +178,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::post('p/{username}/{id}/edit', 'StatusController@editStore'); Route::get('p/{username}/{id}', 'StatusController@show'); Route::get('{username}/saved', 'ProfileController@savedBookmarks'); - Route::get('{username}/followers', 'ProfileController@followers'); - Route::get('{username}/following', 'ProfileController@following'); + Route::get('{username}/followers', 'ProfileController@followers')->middleware('auth'); + Route::get('{username}/following', 'ProfileController@following')->middleware('auth'); Route::get('{username}', 'ProfileController@show'); });