One more 2FA login change

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-05-13 12:48:55 -07:00
parent 32bbe7c715
commit 7c82f5670b

View file

@ -413,26 +413,17 @@ Route::group(['middleware' => 'web'], function () {
Route::get( Route::get(
'two-factor-enroll', 'two-factor-enroll',
[ [LoginController::class, 'getTwoFactorEnroll']
'as' => 'two-factor-enroll', )->name('two-factor-enroll');
'middleware' => ['web'],
'uses' => 'Auth\LoginController@getTwoFactorEnroll' ]
);
Route::get( Route::get(
'two-factor', 'two-factor',
[ [LoginController::class, 'getTwoFactorAuth']
'as' => 'two-factor', )->name('two-factor');
'middleware' => ['web'],
'uses' => 'Auth\LoginController@getTwoFactorAuth' ]
);
Route::post( Route::post(
'two-factor', 'two-factor',
[ [LoginController::class, 'postTwoFactorAuth']
'as' => 'two-factor',
'middleware' => ['web'],
'uses' => 'Auth\LoginController@postTwoFactorAuth' ]
); );
Route::get( Route::get(