SlashChick
Verified User
- Joined
- Oct 14, 2003
- Messages
- 47
Hello,
I'd like to see this in a future DirectAdmin release.
I don't expect all of our customers to remember the CMD_CHANGE_EMAIL_PASSWORD link, so I've added a link to the bottom of the SquirrelMail login page that says, quite simply, "Change Your Email Password."
Here's how to add this to your server.
Edit your /var/www/html/squirrelmail/src/login.php file. Right before the
(three lines before the bottom), add:
So the bottom part of src/login.php should look like this:
This adds the simple link to change your password (and guesses your hostname properly.) Since it will probably get wiped out if you upgrade DA, I'd like to see this included by default.
Hope this helps!
I'd like to see this in a future DirectAdmin release.
I don't expect all of our customers to remember the CMD_CHANGE_EMAIL_PASSWORD link, so I've added a link to the bottom of the SquirrelMail login page that says, quite simply, "Change Your Email Password."
Here's how to add this to your server.
Edit your /var/www/html/squirrelmail/src/login.php file. Right before the
Code:
echo "</body>\n".
"</html>\n";
?>
(three lines before the bottom), add:
Code:
echo "<p align=\"center\"><a href=\"http://" . gethostbyaddr (gethostbyname
($SERVER_NAME)) . ":2222/CMD_CHANGE_EMAIL_PASSWORD\">Change Your Email
Password</a></p>";
So the bottom part of src/login.php should look like this:
Code:
do_hook('login_bottom');
echo "<p align=\"center\"><a href=\"http://" . gethostbyaddr (gethostbyname
($SERVER_NAME)) . ":2222/CMD_CHANGE_EMAIL_PASSWORD\">Change Your Email
Password</a></p>";
echo "</body>\n".
"</html>\n";
?>
This adds the simple link to change your password (and guesses your hostname properly.) Since it will probably get wiped out if you upgrade DA, I'd like to see this included by default.
Hope this helps!