Usman Nasir
-
Posts
4 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Usman Nasir
-
-
Hi, @Paul
I've tested again, once we check module to process the account creation 3 requests are sent to CyberPanel API.
1. This does not provide accurate data, as per order
{"adminUser":"admin","adminPass":"1234567","domainName":"cyberpan.com","ownerEmail":"cyberpan@cyberpan.mail","packageName":"Default","websiteOwner":"cyberpan","ownerPassword":"MTkxOTMyNDExMA=="}
2. This request also provide random data
{"adminUser":"admin","adminPass":"1234567","domainName":"cyberpan.com"}
3. The actual order data
{"adminUser":"admin","adminPass":"1234567","domainName":"cyberpanel.net","ownerEmail":"unasir@litespeedtech.com","packageName":"Default","websiteOwner":"cyberpan","ownerPassword":"6s9&^8vq06(q3d"}
Normally it should call API only once, parameters to create website are mentioned here: https://note.youdao.com/share/?id=f7ffbb4dc8c1f11e43ff9ae4c595443f&type=note#/
Scroll down to create new account, it also requires
-
domainName
Regards
-
-
8 hours ago, Paul said:
Does this mean our module will continue to work again because you've resolved on your end, or will we need to make any changes? If we need to make any changes, your help is much appreciated!
Blesta side is fine, there are no changes to API, a Minor bug due to ACL Manager.
-
Hello!
The issue mentioned on Github is fixed, I've tested with blesta v4.3.0 (ships with CyberPanel module by default). However recently we released ACL Manager (https://docs.cyberpanel.net/doku.php?id=users) due to which users created via API are defaulting to admin access, this specific bug will be patched and released soon after testing.
Regards
CyberPanel Module (Alpha)
in Extensions
Posted
@Jono
We now have a basic blueprint of API documentation https://cyberpanel.docs.apiary.io/
Let me know if you need any specific function, you can use this call to get user information https://cyberpanel.docs.apiary.io/#reference/user-functions/get-user-information