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.
Steps to reproduce:
Login on the website
Close the website for 10 min
Reopen the website
Click on the Account button on the top
Click on everything except Edit your account information
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.
Steps to reproduce:
I guess it might be a caching issue?
Tested on https://github.com/villagedefrance/OpenCart-Overclocked/commit/fbacaa2a81a5711f7005b13b54896d9bb77d8992