mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 06:47:46 -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(
|
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(
|
||||||
|
|
Loading…
Reference in a new issue