villagedefrance / OpenCart-Overclocked

OpenCart Overclocked Edition. Advanced Shopping Cart CMS based on OC v1.5.6.X source code.
https://villagedefrance.net
Other
31 stars 22 forks source link

Weird Issue #173

Closed Tangol closed 6 years ago

Tangol commented 6 years ago

I'll do my best to describe this one, so bear with me.

Recently I've noticed a weird issue on the front end, related to the User Account system. If you exit the website, or leave the keyboard for a while, you automatically get logged out from your account. The problem is that the top button doesn't get updated when you refresh the page, or open it again. Instead of showing the Sign In button (as it should when you get logged out), it still shows Account. And when you click on Account, it lets you do all sorts of stuff, like view orders, transactions, shopping cart etc. So basically, you're logged out, but can still access the User Account page.

Now when you click on Edit your account information, you get logged out properly and the login credentials are asked.

account

Steps to reproduce:

I guess it might be a caching issue?

Tested on https://github.com/villagedefrance/OpenCart-Overclocked/commit/fbacaa2a81a5711f7005b13b54896d9bb77d8992

Tangol commented 6 years ago

Issue fixed. Can be closed.

Thanks!