Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Getting Change Password button on login page to work

Reply to Post Add a New Topic
UserPost

4:09 pm
April 20, 2011


ahk

New Member

posts 1

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://&#039; .  $_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.


 

5:16 pm
April 21, 2011


consultant

Admin

posts 353

Hi,

 

Try the SquirrelMail Change Password Howto, there's an option there to show a change password button in the login form.

 

Reply to Post

Reply to Topic:
Getting Change Password button on login page to work

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
9 + 1
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 60

Currently Online:
13 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 5
Topics: 343
Posts: 1062

Membership:

There are 966 Members
There have been 91 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 46
Kendermin – 15
Ginger – 14
bighorn – 14
iron_michael86 – 12
Raminda – 11

Recent New Members: waveney, achal, niesul14, hesaum, sreevinodss, nasonov

Administrators: consultant (353 Posts)