1
0
mirror of https://github.com/octoleo/Purse.git synced 2025-01-01 05:31:47 +00:00

Only show generated passwords, not input ones.

This commit is contained in:
drduh 2015-08-07 14:20:21 -04:00
parent 09adcb0b95
commit 8769ec11ca

3
pwd.sh
View File

@ -164,12 +164,11 @@ create_username () {
userpass=$password userpass=$password
else else
userpass=$(gen_pass "$@") userpass=$(gen_pass "$@")
fi
if [[ -z "${4+x}" || ! "${4}" =~ ^([qQ])$ ]] ; then if [[ -z "${4+x}" || ! "${4}" =~ ^([qQ])$ ]] ; then
echo " echo "
Password: ${userpass}" Password: ${userpass}"
fi fi
fi
} }