$TOKEN and $TOKENID don't work #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to Reproduce
TOKENID="token-7xxxx5"
andTOKEN="fxxxxxx5-dxxx-4xxx-8xxx-3xxxxxxxx5f0"
in my.env
./authorization.sh
Expected Behavior:
I expected to receive a "Login OK".
Actual Behavior:
I got a
Login Failed
output. When I changed the variable names toSIPUSER
andSIPPWD
, it suddenly worked.In
authorization.sh
, the curl statement uses--user $SIPUSER:$SIPPWD
, not--user $TOKENID:$TOKEN
- the README.md should remove the recommendation to call the variableTOKEN*
.The code to make both variants work was in the wrong place…