As discussed looks like version 7+ returns the ccsrftoken like so "ccsrftoken" . I updated fortigate.py to take the self.port and append it to ccsrftoken.
I'm not sure if this will break version 6 train, if so we will need a way to ask the user what version of fortigate they are running and change the ccsrftoken token format appropriately.
Hi,
As discussed looks like version 7+ returns the ccsrftoken like so "ccsrftoken" . I updated fortigate.py to take the self.port and append it to ccsrftoken.
I'm not sure if this will break version 6 train, if so we will need a way to ask the user what version of fortigate they are running and change the ccsrftoken token format appropriately.
Thanks!!