diff --git a/app/Http/Controllers/Auth/MfaController.php b/app/Http/Controllers/Auth/MfaController.php new file mode 100644 index 000000000..1d0dbd1a4 --- /dev/null +++ b/app/Http/Controllers/Auth/MfaController.php @@ -0,0 +1,29 @@ + + +
+

Setup Multi-Factor Authentication

+

+ Setup multi-factor authentication as an extra layer of security + for your user account. + To use multi-factor authentication you'll need a mobile application + that supports TOTP such as Google Authenticator, Authy or Microsoft Authenticator. +

+
+ +@stop diff --git a/routes/web.php b/routes/web.php index bc9705e10..7807d5477 100644 --- a/routes/web.php +++ b/routes/web.php @@ -223,6 +223,8 @@ Route::group(['middleware' => 'auth'], function () { Route::get('/roles/{id}', 'RoleController@edit'); Route::put('/roles/{id}', 'RoleController@update'); }); + + Route::get('/mfa/setup', 'Auth\MfaController@setup'); }); // Social auth routes