The Network People Support Forums

Mail::Toaster => Upgrading a Mail::Toaster => Topic started by: rlance on September 28, 2006, 08:03:30 PM

Title: password field on Mail::Toaster v 5.01
Post by: rlance on September 28, 2006, 08:03:30 PM
How is the normal data hiding capability of the input type=password disabled?

More importantly, how can it be re-enabled?
Title: Re: password field on Mail::Toaster v 5.01
Post by: matt on October 01, 2006, 01:13:54 PM
Are you asking now to make it not hide the login form?  Why do you want to do this?

It just uses a JavaScript function to turn off the display of the form. The source is in mt-script.js. In IE, which has b0rked JS support, you'll notice that it works differently than on Mozilla, FireFox, Safari, etc. Be careful what you change, it will likely break some browser.
Title: Re: password field on Mail::Toaster v 5.01
Post by: rlance on October 01, 2006, 06:38:02 PM
Ahso!  Now I notice it behaves differently on IE vs Firefox.  IE correctly shows the password asterisked, while Firefox shows it initially with the "password" prompt, then with the input password in the clear.  It is this undesirable shoulder-surfable password in Firefox I was referring to. 

How should the js (or what) be modified to match the data-hiding of IE?
Title: Re: password field on Mail::Toaster v 5.01
Post by: jerm on June 27, 2007, 10:14:35 PM
Quote from: matt on October 01, 2006, 01:13:54 PM
Are you asking now to make it not hide the login form?  Why do you want to do this?

It just uses a JavaScript function to turn off the display of the form. The source is in mt-script.js. In IE, which has b0rked JS support, you'll notice that it works differently than on Mozilla, FireFox, Safari, etc. Be careful what you change, it will likely break some browser.

any input on this?  it would be nice to not have to worry about shoulder-surfing in FF. 
Title: Re: password field on Mail::Toaster v 5.01
Post by: matt on July 08, 2007, 10:45:25 AM
If I knew how to fix it so that IE and FF both worked, then I would have already. Patches are welcome.