Escape password properly in generated JS.

This commit is contained in:
Tobias Werth 2015-12-11 16:23:47 +01:00
parent 497a6e0720
commit e4b809927f

View File

@ -304,7 +304,7 @@ cat <<EOF
input.value = "$username";
}
if (input.type == "password") {
input.value = "$password";
input.value = "${password//\"/\\\"}";
}
}
};