ログインロック

This commit is contained in:
2026-10-27 13:29:46 +09:00
8 changed files with 99 additions and 100 deletions

View File

@@ -1,4 +1,3 @@
package com.example.demo.controller;
import jakarta.servlet.http.HttpSession;

View File

@@ -43,7 +43,7 @@ public class LoginAttemptService {
// ロック中なら何もしない
if (current != null && current.lockedUntil != null
&& now.isBefore(current.lockedUntil)) {
&& now.isBefore(current.lockedUntil)) {
return;
}