check password input type (#5374)

This commit is contained in:
Guilhem
2025-02-25 11:50:45 +00:00
committed by GitHub
parent d48b2dd886
commit 3bf0bc64af
@@ -8,7 +8,7 @@
export let disabled: boolean
let path = ''
let password = value && !value.startsWith('$var:') ? value : ''
let password = value && typeof value === 'string' && !value.startsWith('$var:') ? value : ''
let isGenerating = false
async function generateValue() {