mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 08:14:10 +00:00
Update web routes
This commit is contained in:
parent
2eff42bd76
commit
f7c1801ab8
1 changed files with 4 additions and 0 deletions
|
@ -166,6 +166,10 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
'2fa/recovery-codes',
|
'2fa/recovery-codes',
|
||||||
'SettingsController@securityTwoFactorRecoveryCodes'
|
'SettingsController@securityTwoFactorRecoveryCodes'
|
||||||
)->name('settings.security.2fa.recovery');
|
)->name('settings.security.2fa.recovery');
|
||||||
|
Route::post(
|
||||||
|
'2fa/recovery-codes',
|
||||||
|
'SettingsController@securityTwoFactorRecoveryCodesRegenerate'
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('applications', 'SettingsController@applications')->name('settings.applications');
|
Route::get('applications', 'SettingsController@applications')->name('settings.applications');
|
||||||
|
|
Loading…
Reference in a new issue