do not show plexpass password on entry

use -s option "do not echo input coming from a terminal" to hide password
This commit is contained in:
myellen 2019-06-13 03:39:20 -04:00 committed by GitHub
commit 569adbb857
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ getPlexToken() {
fi
done
while true; do
read -e -p "PlexPass Password: " -i "$PASS" PASS
read -e -s -p "PlexPass Password: " -i "$PASS" PASS
if [ -z "$PASS" ]; then
info "Please provide a password"
else