1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-23 02:31:26 +01: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);