mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-4842 change brute force exception message (#2465)
This commit is contained in:
+1
-1
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user