1
0
mirror of https://github.com/octoleo/Purse.git synced 2024-12-29 12:32:39 +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
else
userpass=$(gen_pass "$@")
fi
if [[ -z "${4+x}" || ! "${4}" =~ ^([qQ])$ ]] ; then
echo "
Password: ${userpass}"
fi
fi
}