mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +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::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::get('request/temporary', 'SettingsController@removeAccountTemporary')->name('settings.remove.temporary');
|
// Route::group(['prefix' => 'remove', 'middleware' => 'dangerzone'], function() {
|
||||||
Route::get('request/permanent', 'SettingsController@removeAccountPermanent')->name('settings.remove.permanent');
|
// Route::get('request/temporary', 'SettingsController@removeAccountTemporary')->name('settings.remove.temporary');
|
||||||
Route::post('request/permanent', 'SettingsController@removeAccountPermanentSubmit');
|
// 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::group(['prefix' => 'security', 'middleware' => 'dangerzone'], function() {
|
||||||
Route::get(
|
Route::get(
|
||||||
|
|
Loading…
Reference in a new issue