init not saving access_token correctly
I noticed that when you ctf init, we are saving the wrong paramctfcli-challenge-finalize-command
parent
5d5c94debd
commit
4ceaa003dd
|
@ -33,7 +33,7 @@ class CTFCLI(object):
|
|||
os.mkdir(".ctf")
|
||||
|
||||
config = configparser.ConfigParser()
|
||||
config["config"] = {"url": ctf_url, "access_token": ctf_url}
|
||||
config["config"] = {"url": ctf_url, "access_token": ctf_token}
|
||||
config["challenges"] = {}
|
||||
|
||||
with open(".ctf/config", "a+") as f:
|
||||
|
|
Loading…
Reference in New Issue