]> BookStack Code Mirror - bookstack/blobdiff - routes/web.php
Added TOTP generation view and started verification stage
[bookstack] / routes / web.php
index 7807d5477e8ce614e2af35f42b19ff038d4fd1d5..f9967465b3fa5cca7e7a650bd6118cae6164a460 100644 (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