From a6886eef6e72aed7648fec60258807be5a32409d Mon Sep 17 00:00:00 2001 From: 26tajeen Date: Wed, 11 Jan 2023 15:51:14 +0000 Subject: [PATCH] bugfix to remove -i flag Case insensitive grep meaning the authorization string wasn't being found & returned --- examples/bash/login | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bash/login b/examples/bash/login index c0b2206..f3d904f 100755 --- a/examples/bash/login +++ b/examples/bash/login @@ -11,5 +11,5 @@ curl -is "https://$SERVER.getsling.com/account/login" \ -d "{\"email\": \"$1\",\"password\": \"$2\"}" \ -H "Content-Type: application/json" \ -H "accept: */*" | \ - grep -i "^authorization: " | \ - sed "s/^authorization: //I" + grep "^authorization: " | \ + sed "s/^authorization: //"