1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 07:13:32 +00:00

string[] type on passwords

This commit is contained in:
Kyle Spearrin
2018-09-07 15:15:01 -04:00
parent d2e5c9b6ea
commit 049faf1abc

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