mgufrone / cpanel-php

CPanel/WHM API for PHP
MIT License
158 stars 91 forks source link

Create User Session 'create-user-session' #25

Open kazi-shahin opened 6 years ago

kazi-shahin commented 6 years ago

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?

paulcanning commented 5 years ago

Why not just make the session yourself?

kazi-shahin commented 5 years ago

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