mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 00:03:09 +01:00
Fix pint issues
This commit is contained in:
parent
461c1df5b4
commit
e49556d787
@ -33,8 +33,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Routes that only work for unauthenticated user (return an error otherwise)
|
||||
* 'kickOutInactiveUser',
|
||||
* Routes that only work for unauthenticated user (otherwise, the user is logged out)
|
||||
*/
|
||||
Route::group(['middleware' => ['rejectIfDemoMode', 'RejectIfSsoOnlyAndNotForAdmin', 'forceLogout']], function () {
|
||||
Route::post('user', [RegisterController::class, 'register'])->name('user.register');
|
||||
@ -52,8 +51,8 @@
|
||||
});
|
||||
|
||||
/**
|
||||
* Routes that only work for unauthenticated user (return an error otherwise)
|
||||
* that can be requested max 10 times per minute by the same IP 'kickOutInactiveUser',
|
||||
* Routes that only work for unauthenticated user (otherwise, the user is logged out)
|
||||
* that can be requested max 10 times per minute by the same IP
|
||||
*/
|
||||
Route::group(['middleware' => ['forceLogout', 'throttle:10,1']], function () {
|
||||
Route::post('user/login', [LoginController::class, 'login'])->name('user.login')->middleware('RejectIfSsoOnlyAndNotForAdmin');
|
||||
|
@ -275,7 +275,7 @@ public function test_webauthn_login_already_authenticated_is_rejected()
|
||||
->assertOk();
|
||||
|
||||
$this->json('POST', '/webauthn/login', self::ASSERTION_RESPONSE)
|
||||
->assertStatus(200);;
|
||||
->assertStatus(200);
|
||||
}
|
||||
|
||||
#[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user