Private key password is now updated if it is empty (#138)
This commit is contained in:
parent
94883e3b00
commit
ac0ac04daf
@ -915,10 +915,8 @@ function generateFile(id){
|
|||||||
if(lmtext(id)=='samlServicePrivateKeyEnc'){_public='samlServicePublicKeyEnc';}
|
if(lmtext(id)=='samlServicePrivateKeyEnc'){_public='samlServicePublicKeyEnc';}
|
||||||
_id=$('#'+lmparent(id)+' span[name='+_public+']').attr('id').replace(/text_/,'');
|
_id=$('#'+lmparent(id)+' span[name='+_public+']').attr('id').replace(/text_/,'');
|
||||||
setlmdata(_id,data.content.public);
|
setlmdata(_id,data.content.public);
|
||||||
if(password.length){
|
|
||||||
_id=$('#'+lmparent(id)+' span[name='+lmtext(id)+'Pwd]').attr('id').replace(/text_/,'');
|
_id=$('#'+lmparent(id)+' span[name='+lmtext(id)+'Pwd]').attr('id').replace(/text_/,'');
|
||||||
setlmdata(_id,password);
|
setlmdata(_id,password);
|
||||||
}
|
|
||||||
filearea(id);
|
filearea(id);
|
||||||
},
|
},
|
||||||
error:function(xhr, ajaxOptions, thrownError){
|
error:function(xhr, ajaxOptions, thrownError){
|
||||||
|
Loading…
Reference in New Issue
Block a user