SUPPORT-9083: Fix

This commit is contained in:
Eduard Tihomirov 2025-04-07 12:20:55 +03:00
parent 594c909260
commit d7aa38bb57

View file

@ -98,7 +98,7 @@ public class EsiaAuthInfoStore {
states.removeIf(ExpiringState::isExpired);
}
if (states.size() >= attemptsCount) {
throw new LocalizedException("login.attempts.exceeded", MESSAGE_SOURCE);
throw new LocalizedException("login_attempts_exceeded", MESSAGE_SOURCE);
}
states.add(newState);
return states;