string[] type on passwords
This commit is contained in:
parent
d2e5c9b6ea
commit
049faf1abc
|
@ -345,7 +345,7 @@ document.addEventListener('DOMContentLoaded', (event) => {
|
|||
}
|
||||
}
|
||||
if (!disabledChangedPasswordNotification && formData[i].passwordEls != null) {
|
||||
const passwords = formData[i].passwordEls
|
||||
const passwords: string[] = formData[i].passwordEls
|
||||
.filter((el: HTMLInputElement) => el.value != null && el.value !== '')
|
||||
.map((el: HTMLInputElement) => el.value);
|
||||
|
||||
|
|
Loading…
Reference in New Issue