[Tracker-discuss] [issue448] Login not working (mostly)

Ezio Melotti metatracker at psf.upfronthosting.co.za
Wed Apr 18 01:59:29 CEST 2012


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

> Why is 'action=logout' in the url? It has already happened and is not to be repeated.

IIUC this happens because Roundup uses GET for the logout, so in order to logout you have to go to a page that contains action=logout in the URL -- e.g. the page you go to by clicking the "Logout" link.

> Here, perhaps the url is needed to return to the page, but
> does the search need to be repeated?

Most likely, unless the login/logout is implemented via AJAX (but that's impractical since the content of the page usually changes when you log in/out).

> Even if so, why are multiple actions prohibited?

The problem here is that Roundup is mixing GET and POST, normally you would have only one action, and having more actions might result in a conflict (e.g. login+logout).  Instead of giving an error Roundup could ignore the GET action if there's already a POST one, or use POST for the logout too.

> I usually don't bother or remember to login until I am on an issue page,
> whose url has no action, and decide I want to comment or change headers.

This is what I usually do, that's why I said that usually it wouldn't be a problem removing all the GET args from the URL.

_______________________________________________________
PSF Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue448>
_______________________________________________________


More information about the Tracker-discuss mailing list