mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-14 10:36:55 -07:00
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:
parent
6f40555c9a
commit
569adbb857
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue