Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.3.0-b1
-
Component/s: None
-
Labels:None
Description
This issue is described @ https://www.blesta.com/forums/index.php?/topic/11085-directadmin-module-bug/&do=findComment&comment=58903
The change is described in DirectAdmin: https://www.directadmin.com/features.php?id=807
The API may sometimes respond with an HTML page rather than a valid JSON response for the actions of suspending or unsuspending an account. Per the DirectAdmin docs, above, they have changed the location value in the API request from CMD_SELECT_USERS to CMD_API_SELECT_USERS in order to handle it as an API request. We should update the DirectAdmin API to include that difference as well so DirectAdmin will respond with JSON.