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:
parent
09adcb0b95
commit
8769ec11ca
7
pwd.sh
7
pwd.sh
@ -164,11 +164,10 @@ create_username () {
|
|||||||
userpass=$password
|
userpass=$password
|
||||||
else
|
else
|
||||||
userpass=$(gen_pass "$@")
|
userpass=$(gen_pass "$@")
|
||||||
fi
|
if [[ -z "${4+x}" || ! "${4}" =~ ^([qQ])$ ]] ; then
|
||||||
|
echo "
|
||||||
if [[ -z "${4+x}" || ! "${4}" =~ ^([qQ])$ ]] ; then
|
|
||||||
echo "
|
|
||||||
Password: ${userpass}"
|
Password: ${userpass}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user