Open lozbrown opened 8 years ago
Thanks. I will look into it. Feel free to do a pull request as well.
It works for me in cPanel version 58.0 (build 25). The script sends username and password each time, so I guess there is no need to provide a session token?
Is there perhaps a setting that could enforce session tokens on some servers and not others? Will need to play with it a bit more.
This seems to not work for me
Further investigation leads to this https://blog.cpanel.com/making-your-script-work-with-security-tokens-in-cpanel-whm/
as I get "Token Denied"
I think we need to get the cp_security_token from enviroment variables and incorporate that into the URL.