mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
Fix default Common Name on create certificate
This commit is contained in:
@@ -153,7 +153,7 @@ $(function() {
|
||||
$('#o').blur(function() {
|
||||
var prefix = $(this).val().split(" ")[0];
|
||||
|
||||
if ((prefix != "") && (($("#cn").val() == "Root CA") || ($("#cn").val() == "CA")) && ($(this).parent().parent().find(".error").length == 0)) {
|
||||
if ((prefix != "") && (($("#cn").val() == "Root CA") || ($("#cn").val() == "CA")) && ($(this).parent().parent().find(".error").length == 1)) {
|
||||
$("#cn").val(prefix + " " + $("#cn").val());
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user