mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update routes
This commit is contained in:
parent
e4a7aa00a5
commit
476e9ff8b3
1 changed files with 7 additions and 5 deletions
|
@ -132,11 +132,13 @@ 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');
|
||||
});
|
||||
// Todo: Release in 0.7.2
|
||||
// Route::group(['prefix' => 'remove', 'middleware' => 'dangerzone'], function() {
|
||||
// Route::get('request/temporary', 'SettingsController@removeAccountTemporary')->name('settings.remove.temporary');
|
||||
// Route::post('request/temporary', 'SettingsController@removeAccountTemporarySubmit');
|
||||
// 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(
|
||||
|
|
Loading…
Reference in a new issue