login failed via wiki & retry

View: New views
2 Messages — Rating Filter:   Alert me  

login failed via wiki & retry

by Bart Van den Abeele-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

When i upgraded to 2.4, the first thing i hoped to have changed was the login via the wiki.  When you enter a wrong pasword, you are send to an error-page.  When you try to press on login on that page, nothing happens.  I want to be able to login on that page.  Now i have to press on a site and then i can login again.  Will this be resolved in 2.4?

--
Met vriendelijke groeten,
Bart Van den Abeele
Email: bvda@...
Helpdesk : +32 (09) 389 0560
Persoonlijk : +32 (09) 389 0564

**** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm


_______________________________________________
daisy community mailing list
Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
mail to: daisy@...
list information: http://lists.cocoondev.org/mailman/listinfo/daisy

Re: login failed via wiki & retry

by Karel Vervaeke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daisy has behaved like this since a good number of versions AFAIK (at
least since version 2.1, probably longer).
The reason for the login menu not being rendered is a technical one:
Whenever you do a POST request and there is an error, the login, roles
and site switching links made unavailable.
These links send you to a page that redirects you back to the original
page (e.g. http://.../login?returnTo={whereyoucamefrom}
Because you can only redirect browsers by making them do a new GET
request, you would essentially be sending a user to a url
which does not necessarily support GET requests.

I agree that there are more elegant solutions (rendering a 'back' link
would be a good start), feel free to create another jira issue :)

Regards,
Karel

On Thu, Oct 1, 2009 at 1:57 PM, Bart Van den Abeele <bvda@...> wrote:

> Hi,
>
> When i upgraded to 2.4, the first thing i hoped to have changed was the
> login via the wiki.  When you enter a wrong pasword, you are send to an
> error-page.  When you try to press on login on that page, nothing happens.
> I want to be able to login on that page.  Now i have to press on a site and
> then i can login again.  Will this be resolved in 2.4?
>
> --
> Met vriendelijke groeten,
> Bart Van den Abeele
> Email: bvda@...
> Helpdesk : +32 (09) 389 0560
> Persoonlijk : +32 (09) 389 0564
>
> **** DISCLAIMER ****
> http://www.schaubroeck.be/maildisclaimer.htm
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support:
> http://outerthought.org/en/services/daisy/support.html
> mail to: daisy@...
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>
>
_______________________________________________
daisy community mailing list
Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
mail to: daisy@...
list information: http://lists.cocoondev.org/mailman/listinfo/daisy