Skip to content

Commit

Permalink
CB-4842 change brute force exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
LonwoLonwo committed Mar 11, 2024
1 parent e13368d commit 699a6b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static void checkBruteforce(SMControllerConfiguration smConfig, List<User

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");
}
}
}

0 comments on commit 699a6b4

Please sign in to comment.