Hi there –
I am trying to set up a "Change Password" button on the login page of SquirrelMail to provide a "shortcut" to the password change utility. I went online, and I came across a method on DirectAdmin website to accomplish this task. The login.php file gets modified with the text shown below.
'<center>'. addSubmit(_("Login")) .'<INPUT TYPE=button VALUE="Change Password" onClick="window.location.href=\'http://' . $_SERVER['HTTP_HOST'] . ':2222/CMD_CHANGE_EMAIL_PASSWORD\'"></center>',
When I click on the newly created button, the following error message appears on-screen:
<e-mail server FQDN>:2222/CMD_CHANGE_EMAIL_PASSWORD
I don't have DirectAdmin installed on the server, so I wanted to know what syntax to use to reference the appropriate command, or if I need to come up with something different.
Has anyone done something similar to this, and can let me know what changes are needed here? Thanks.