After a through investigation I have noticed the following situation with the API.
The API function (say)
$domain_record = sites_web_domain_get($session_id, $domain_id)
Returns the entire record inclusive of the stats_password crypt-ed
That might not be a problem, however it's:
When updating any of the above returned record with say:
$domain_record['active'] = 'n';
sites_web_domain_update($session_id, $client_id, $domain_id, $domain_record)
The finely updated record will hold a crypt-ed
, crypt-ed stats_password
Thus killing or resetting the stats_password set originally to some Un-Known crypt-ed characters ...
Do you see a problem there?