mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 12:59:40 -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
|
fi
|
||||||
done
|
done
|
||||||
while true; do
|
while true; do
|
||||||
read -e -p "PlexPass Password: " -i "$PASS" PASS
|
read -e -s -p "PlexPass Password: " -i "$PASS" PASS
|
||||||
if [ -z "$PASS" ]; then
|
if [ -z "$PASS" ]; then
|
||||||
info "Please provide a password"
|
info "Please provide a password"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue