mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
One more 2FA login change
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
32bbe7c715
commit
7c82f5670b
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue