Joshua D. Drake wrote:
> Magnus Hagander wrote:
>> I've done some minor hacking on some changes to the community login
>> system, based on nagging (eh, sorry, feedback) from mainly JD ;-)
>
> I love you man :)
:-)
>> Specifically, not using http auth, but instead using forms auth and a
>> session cookie. This is so we can eventually have a separate login link
>> for those who don't understand systems that ask you to login only when a
>> login is necessary.
>
>> It will also make it possible to have pages change depending on if
>> you're logged in or not - but that requires code to run on wwwmaster,
>> which we're trying to avoid, so I'm not sure much of that will happen...
>
> We should talk about this. I have some ideas that would make this very
> possible.
Yeah, but it's a separate issue. But this changes makes it possible to
look into that in the future, yes.
>> Anyway. Attached is a patch that does this, you can test the system out
>> on http://magnus-master.pgadmin.org. Thoughts and comments?
>
> Well since you brought me into it ;)
;-)
> $this->form->addElement('static', null, null, '<font color="red">' .
> gettext("Userid or password was incorrect. Please try again.") . '</font>');
>
>
> This should be calling to the stylesheet ;)
Yeah, if I knew how :) The HTML Quickforms stuff is very inflexible.
> Have we fixed the "other" problem with session management?
No. That's next step.
//Magnus