cpanel-php icon indicating copy to clipboard operation
cpanel-php copied to clipboard

Create User Session 'create-user-session'

Open kazi-shahin opened this issue 7 years ago • 2 comments

I want to create the security token for a cpanel user token "cpsessXXXXXXXXXX" using the WHM API Token. The API token privilege many operation and on of the Operation is, "create-user-session". Is this Repo has any way to do this?

kazi-shahin avatar Mar 15 '18 16:03 kazi-shahin

Why not just make the session yourself?

paulcanning avatar Jan 10 '19 11:01 paulcanning

Why not just make the session yourself?

In my case, it won't work. I was trying to add domain dynamically and I needed the cpanel access to do it via Cpanel API. Good things is that, I did it

kazi-shahin avatar Jan 10 '19 11:01 kazi-shahin