From 9abcd084e427fd5c37bf0dc652e6f7f97b164526 Mon Sep 17 00:00:00 2001 From: rany Date: Mon, 20 May 2024 05:30:28 +0300 Subject: [PATCH] Initialize token variable When fixing the bug with token not being set in the WG config when using the newly added refresh config feature, I accidently introduces this bug. Fix it by initalizing the variable. Fixes: 297daf7 ("Fix bug with refreshed config not showing token anymore") Fixes: #11 Signed-off-by: rany --- warp.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/warp.sh b/warp.sh index 2276d3b..81d4ab9 100755 --- a/warp.sh +++ b/warp.sh @@ -26,6 +26,7 @@ curl_opts= refresh_token= show_regonly=0 teams_ephemeral_token= +token= # Helper function to send traffic to Cloudflare API without # tripping up their TLS fingerprinting mechanism and triggering