mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Added TOTP generation view and started verification stage
Also updated MFA setup view to have settings-like listed interface to make it possible to extend with extra options in the future.
This commit is contained in:
@ -225,6 +225,8 @@ Route::group(['middleware' => 'auth'], function () {
|
||||
});
|
||||
|
||||
Route::get('/mfa/setup', 'Auth\MfaController@setup');
|
||||
Route::get('/mfa/totp-generate', 'Auth\MfaController@totpGenerate');
|
||||
Route::post('/mfa/totp-confirm', 'Auth\MfaController@totpConfirm');
|
||||
});
|
||||
|
||||
// Social auth routes
|
||||
|
Reference in New Issue
Block a user