forked from mirror/pixelfed
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::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() {
|
// Todo: Release in 0.7.2
|
||||||
|
// Route::group(['prefix' => 'remove', 'middleware' => 'dangerzone'], function() {
|
||||||
// Route::get('request/temporary', 'SettingsController@removeAccountTemporary')->name('settings.remove.temporary');
|
// Route::get('request/temporary', 'SettingsController@removeAccountTemporary')->name('settings.remove.temporary');
|
||||||
Route::get('request/permanent', 'SettingsController@removeAccountPermanent')->name('settings.remove.permanent');
|
// Route::post('request/temporary', 'SettingsController@removeAccountTemporarySubmit');
|
||||||
Route::post('request/permanent', 'SettingsController@removeAccountPermanentSubmit');
|
// 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