Guten Tag
marc.sc...@gmail.com,
am Freitag, 30. November 2018 um 21:33 schrieben Sie:
> I tried some situations, and it seems that I only get the error
> message when the value of the token is empty. It's only empty after
> direct logout without reloading the page, as you said. When I reload
> the page after logout, the login always succeeds. Is this an error
> on my side, or should it be considered as a bug?
A bug is less likely if things seem to work for most people and with a
fairly standard installation like I have. Check the following first:
Open the start page, log in, open the dev tools of your browser, open
the network tab, reload the page to make it see something. Log out
WITHOUT reloading the page, have a look at the response of "index.cgi"
regarding cookies. It should look like the following:
> Set-Cookie: Bugzilla_login_request_cookie=8zTrSxlxlX; path=/; HttpOnly
> Set-Cookie: Bugzilla_login=X; path=/; expires=Tue, 15-Sep-1998 21:49:00 GMT
> Set-Cookie: sudo=X; path=/; expires=Tue, 15-Sep-1998 21:49:00 GMT
> Set-Cookie: Bugzilla_logincookie=X; path=/; expires=Tue, 15-Sep-1998 21:49:00 GMT
Open the login form still WITHOUT reloading, log in and have another
look at cookies in the request and response to "index.cgi". This looks
like the following for me:
> Cookie: BUGLIST=2134;[...]Bugzilla_login_request_cookie=8zTrSxlxlX
> Set-Cookie: Bugzilla_logincookie=FOG5ogf8oE; path=/; expires=Fri, 01-Jan-2038 00:00:00 GMT; HttpOnly
> Set-Cookie: Bugzilla_login=1; path=/; expires=Fri, 01-Jan-2038 00:00:00 GMT; HttpOnly
The important thing is "Bugzilla_login_request_cookie", if that is
missing after your log out for some reason, you get your error
message. Same with if it's not send during login.
If it's not missing and is send, I'm running out of ideas. :-) Than
the only explanation left for your problem for me would be that the
cookie is invalid already when used during login and I have no idea
how that could happen.