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(
'two-factor-enroll',
[
'as' => 'two-factor-enroll',
'middleware' => ['web'],
'uses' => 'Auth\LoginController@getTwoFactorEnroll' ]
);
[LoginController::class, 'getTwoFactorEnroll']
)->name('two-factor-enroll');
Route::get(
'two-factor',
[
'as' => 'two-factor',
'middleware' => ['web'],
'uses' => 'Auth\LoginController@getTwoFactorAuth' ]
);
[LoginController::class, 'getTwoFactorAuth']
)->name('two-factor');
Route::post(
'two-factor',
[
'as' => 'two-factor',
'middleware' => ['web'],
'uses' => 'Auth\LoginController@postTwoFactorAuth' ]
[LoginController::class, 'postTwoFactorAuth']
);
Route::get(