Commit 75d0197d authored by ls1947's avatar ls1947
Browse files

resolve message detail for blacklisted key

parent b642d99b
......@@ -143,7 +143,7 @@ public class UserSshKeyManagementBean implements Serializable {
messageGenerator.addResolvedErrorMessage("sshKeyMessage", "error_msg", e.toString(), false);
} catch (SshPubKeyBlacklistedException e) {
logger.warn("User {} tried to deploy blacklisted key", user.getId());
messageGenerator.addResolvedErrorMessage("sshKeyMessage", "error", "key_blacklisted", false);
messageGenerator.addResolvedErrorMessage("sshKeyMessage", "error", "key_blacklisted", true);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment