uhhh
This commit is contained in:
parent
f416ca56e5
commit
f63a2dfc3d
@ -13,7 +13,7 @@ LOGIN=$(curl -s -c $COOKIE $BML_URL/login --data-raw username=$BML_USERNAME --da
|
|||||||
if [ "$LOGIN" = "0" ] # if Login success
|
if [ "$LOGIN" = "0" ] # if Login success
|
||||||
then
|
then
|
||||||
PROFILE=$(curl -s -b $COOKIE $BML_URL/profile | jq -r '.payload | .profile | .[] | .profile' | head -n 1) # get Personal Profile
|
PROFILE=$(curl -s -b $COOKIE $BML_URL/profile | jq -r '.payload | .profile | .[] | .profile' | head -n 1) # get Personal Profile
|
||||||
curl -s -b $COOKIE $BML_URL/profile --data-raw profile=$PROFILE > /dev/null # select Personal Profile
|
NONEED=$(curl -s -b $COOKIE $BML_URL/profile --data-raw profile=$PROFILE) # select Personal Profile
|
||||||
elif [ "$LOGIN" = "2" ]
|
elif [ "$LOGIN" = "2" ]
|
||||||
then
|
then
|
||||||
echo 'Your username or password is incorrect.'
|
echo 'Your username or password is incorrect.'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user