Fix ensureDN
This commit is contained in:
parent
3c7b7cbedf
commit
6f5b9fd796
|
@ -80,7 +80,7 @@ function validateControls (controls) {
|
|||
|
||||
function ensureDN (input) {
|
||||
if (DN.isDn(input)) {
|
||||
return DN
|
||||
return input
|
||||
} else if (typeof (input) === 'string') {
|
||||
return DN.fromString(input)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue