1
0
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:
Dan Brown
2021-06-29 22:06:49 +01:00
parent efb6a6b457
commit d25cd83d8e
5 changed files with 141 additions and 7 deletions

View File

@ -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