forked from mirror/pixelfed
Update web routes
This commit is contained in:
parent
251cb72aa4
commit
2f354c5bc3
1 changed files with 6 additions and 0 deletions
|
@ -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::post('privacy/blocked-users', 'SettingsController@blockedUsersUpdate')->middleware('throttle:100,1440');
|
||||||
Route::get('privacy/blocked-instances', 'SettingsController@blockedInstances')->name('settings.privacy.blocked-instances');
|
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::group(['prefix' => 'security', 'middleware' => 'dangerzone'], function() {
|
||||||
Route::get(
|
Route::get(
|
||||||
'/',
|
'/',
|
||||||
|
|
Loading…
Reference in a new issue