ethanpil / dyndns-cpanel

Dynamic DNS update script for CPanel accounts with DYNDNS.com API
36 stars 15 forks source link

I think this is broken by Cpanel security Tokens added in Cpanel 11.28 #4

Open lozbrown opened 8 years ago

lozbrown commented 8 years ago

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.

ethanpil commented 8 years ago

Thanks. I will look into it. Feel free to do a pull request as well.

f03el commented 7 years ago

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?

ethanpil commented 7 years ago

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.