string[] type on passwords

This commit is contained in:
Kyle Spearrin 2018-09-07 15:15:01 -04:00
parent d2e5c9b6ea
commit 049faf1abc
1 changed files with 1 additions and 1 deletions

View File

@ -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);