From 2f354c5bc3b167cdb0a494bf48bd5bd0b2433734 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 20 Dec 2018 23:18:48 -0700 Subject: [PATCH] Update web routes --- routes/web.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/routes/web.php b/routes/web.php index cbd2f5a9d..b2564ae0e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -132,6 +132,12 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::post('privacy/blocked-users', 'SettingsController@blockedUsersUpdate')->middleware('throttle:100,1440'); Route::get('privacy/blocked-instances', 'SettingsController@blockedInstances')->name('settings.privacy.blocked-instances'); + Route::group(['prefix' => 'remove', 'middleware' => 'dangerzone'], function() { + // Route::get('request/temporary', 'SettingsController@removeAccountTemporary')->name('settings.remove.temporary'); + Route::get('request/permanent', 'SettingsController@removeAccountPermanent')->name('settings.remove.permanent'); + Route::post('request/permanent', 'SettingsController@removeAccountPermanentSubmit'); + }); + Route::group(['prefix' => 'security', 'middleware' => 'dangerzone'], function() { Route::get( '/',