wpass: correctly autofill when no username is present

This commit is contained in:
Leonardo Eugênio 2025-08-11 00:20:30 -03:00
parent 1eca28f39c
commit 53996693ad

View file

@ -50,8 +50,10 @@ main() {
} }
autotype(){ autotype(){
env wtype -s 100 "$username" if test -n "$username"; then
env wtype -s 100 -k tab env wtype -s 100 "$username"
env wtype -s 100 -k tab
fi
env wtype -s 100 "$password" env wtype -s 100 "$password"
} }