CB-4842 change brute force exception message (#2465)

This commit is contained in:
Anastasiya
2024-03-12 13:48:09 +00:00
committed by GitHub
parent 8adb27f7b1
commit 2cacb3e1fa
@@ -61,7 +61,7 @@ public class BruteForceUtils {
private static void checkLoginInterval(LocalDateTime createTime, int timeout) throws DBException {
if (createTime != null && Duration.between(createTime, LocalDateTime.now()).getSeconds() < timeout) {
throw new DBException("You are trying to log in too fast");
throw new DBException("Too frequent authentication requests");
}
}
}