Verified Commit 5e5833de authored by Recolic Keghart's avatar Recolic Keghart 🎱

pull 20190524 update

parent d1909c80
Pipeline #725 passed with stage
in 9 minutes and 27 seconds
......@@ -12,8 +12,10 @@ function try_signin_once --description "signin_once <openid> <N> <E> <tmpfl> <co
set result_badid 2
set result_nothing 3
set _url "$_openid"
set _url "$_openid"
set _resign_url "$_openid&state=$_openid"
curl -L "$_url" -v 2>$cookiefl > $tmpfl
curl -L "$_resign_url" -v 2>$cookiefl > $tmpfl
if grep -F '{"data":\[\],"msg":"unauthorized"}' $tmpfl > /dev/null
return $result_badid
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment