Fix pint issues

This commit is contained in:
Bubka 2024-10-27 07:17:00 +01:00
parent 461c1df5b4
commit e49556d787
3 changed files with 6 additions and 7 deletions

View File

@ -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');

View File

@ -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]