Skip to content

Commit

Permalink
Merge pull request #167 from isaaclo123/master
Browse files Browse the repository at this point in the history
(fix #166): password hidden
  • Loading branch information
carnager authored Apr 28, 2019
2 parents e2e1cf7 + 848415e commit e07055a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rofi-pass
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ mainMenu () {
fields=$(printf '%s\n' "${password_temp[@]:1}" | awk '$1 ~ /:$/ || /otpauth:\/\// {$1=$1;print}')
declare -A stuff
stuff["pass"]=${password}

if [[ -n $fields ]]; then
while read -r LINE; do
unset _id _val
Expand Down Expand Up @@ -713,7 +713,7 @@ insertPass () {
exit
fi

pw=$(printf '%s' "Generate" | _rofi -dmenu -p "Password > " -mesg "Type Password or hit Enter to generate one")
pw=$(printf '%s' "Generate" | _rofi -dmenu -password -p "Password > " -mesg "Type Password or hit Enter to generate one")

if [[ $pw == "Generate" ]]; then
pw=$(_pwgen "${password_length}")
Expand Down Expand Up @@ -754,7 +754,7 @@ insertPass () {
}

help_msg () {
cat <<'EOF'
cat <<'EOF'
Usage:
rofi-pass [command]
Expand Down

0 comments on commit e07055a

Please sign in to comment.