in reply to A new chatterbox flavour
Nice, but you'll need to change how you compare the username in login.callback:
should un-URL-encode the cookie's value. For a quick (local) fix so I could log in, I changed it to:cookie.get( 'userpass' ).indexOf( document.getElementById( ' +user' ).value ) != 0
You'll want to do more than just that though for future releases.cookie.get( 'userpass' ) .replace(/%25/g, '%') .replace(/%20/g, ' ') .indexOf( document.getElementById( 'user' ).value ) != 0
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A new chatterbox flavour
by Aristotle (Chancellor) on Dec 19, 2004 at 16:07 UTC | |
by The Mad Hatter (Priest) on Dec 19, 2004 at 16:16 UTC | |
by Aristotle (Chancellor) on Dec 19, 2004 at 16:41 UTC | |
by The Mad Hatter (Priest) on Dec 20, 2004 at 01:14 UTC | |
by Aristotle (Chancellor) on Dec 20, 2004 at 01:50 UTC |
In Section
Perl Monks Discussion