Re-enable getting plex token from server

This commit is contained in:
Alex Malinovich 2017-02-19 20:48:40 -08:00
commit a06d156de2

View file

@ -3,7 +3,7 @@
URL_LOGIN='https://plex.tv/users/sign_in.json'
getPlexToken() {
#getPlexServerToken
[ -z "$TOKEN" ] && getPlexServerToken
# Check if we're connected to a terminal
if [ -z "$TOKEN" -a -n "$EMAIL" -a -n "$PASS" ]; then
#TOFIX