PDA

View Full Version : Mail Password Change : User friendly html form



netspace
04-10-2004, 03:10 AM
This is in reference to this thread...

http://www.directadmin.com/forum/showthread.php?s=&threadid=1358

The API url of /CMD_CHANGE_EMAIL_PASSWORD is too cryptic and memory-unfriendly for endusers. I have to fish for it everytime myself.

I have a simple html form that passes these values to the API...only problem is how to make it appear at the DA login url e.g. httpS://domain.com:2222/mailpassword.html

I searched thru /usr/local/directadmin, but couldn't find a place to stick this file in.

DirectAdmin Support
04-12-2004, 10:06 AM
Hello,

You could create the file on your own hosting website and just have the form direct to the CMD_CHANGE_EMAIL_PASSWORD link. Or just put the link on your website.

You won't be able to add :2222/mailpassword.html as it has to be in the files_user.conf, but it has to start with the correct prefix. What could work is adding:

HTM_mailpassword=user/email/yourcopyoftheform.html

to the files_user.conf. That would work :) (:2222/HTM_mailpassword)

John