PDA

View Full Version : BF/FR: CMD_CHANGE_EMAIL_PASSWORD returns nothing in case of success



interfasys
11-29-2009, 12:24 PM
According to this: http://www.directadmin.com/api.html#email
when using CMD_CHANGE_EMAIL_PASSWORD,
a dynamic "success" page should be shown in case the password was successfully changed.
Instead, we get a blank page and that causes problems with some scripts.

Could this be replaced with a simple "Success" message in the html page?

I know we can redirect to our own html pages, but having a blank page is not a very normal behaviour for an answer.

scsi
11-30-2009, 06:01 AM
Why cant you use



error 0 or 1, To determine if it was successful or not


Then print your own message?

interfasys
12-01-2009, 07:46 AM
Because that's returned in a URL encoded form, not in an html page one.