mirror of
https://github.com/pia-foss/manual-connections.git
synced 2025-02-05 14:08:29 +00:00
Edit: Password input to allow specialchars
This commit is contained in:
parent
e956c57849
commit
5e1b4185b7
|
@ -72,7 +72,7 @@ echo -n "Checking login credentials..."
|
|||
generateTokenResponse=$(curl -s --location --request POST \
|
||||
'https://www.privateinternetaccess.com/api/client/v2/token' \
|
||||
--form "username=$PIA_USER" \
|
||||
--form "password=$PIA_PASS" )
|
||||
--form "password=\"$PIA_PASS\"" )
|
||||
|
||||
if [ "$(echo "$generateTokenResponse" | jq -r '.token')" == "" ]; then
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue
Block a user