When I add my mail and token into the website and click on login I end up in the overview. There is no possibility to login or logout anymore.
Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
When I add my mail and token into the website and click on login I end up in the overview. There is no possibility to login or logout anymore.
Elisa,
I believe this issue is fixed in 6.6 (should be released today) - although now that I think about it, what would logging out do for a guest that hasn't looged in, clear their token I suppose? I can check on this for this morning.
Adam
Hi Adam, real life szenario would be that I ordered as guest altough I have an account (with another mail adress) and now I want to login to see if the order is in my account. I have no possibility to login anymore because clicking on login directs me to the orders. So actually I would have to get again the access level guest and the possibilty to login. So clearing the session or whatever is done programmatically should log me out of that.
Thank you
Elisa
Elisa,
You are correct, after reviewing the code, here is what I came up with:
https://github.com/j2commerce/j2commerce/issues/1971
If this addresses the issue, I will get to work on it.
Adam
Hi Adam,
yes this would fix it, thank you!
Elisa
Working on it now :) Thanks for your patience with us.
Adam
Elisa,
PR verified and merged:
https://github.com/j2commerce/j2commerce/pull/1975
I am going to close this ticket - thanks for helping us improve!
Adam