1
0
mirror of https://github.com/octoleo/Purse.git synced 2024-12-28 20:12:38 +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

7
pwd.sh
View File

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