Search found 5 matches

Page 1 of 1

Search found 5 matches

Re: How can I logout OpenCart 3 customer after 30 minutes of inactivity?

No the automatic logout doesn't work
The most important thing for me is to logout customers automatically after 30 min or 60 min of inactivity in the website
again I use OpenCart 3.0.3.2 with Journal 3 Theme, I also use an extention called: Page after login - strict login (cartbinder@gmail.com)

Jump to post
  • Thu Sep 03, 2020 4:02 pm
  • Replies 17
  • Views 1342
Re: How can I logout OpenCart 3 customer after 30 minutes of inactivity?

My friend,
I tried the code exactly as you said but no luck, I forgot to tell you that I use Journal 3 on OpenCart 3.0.3.2. I added the last code in:
catalog/view/theme/journal/template/account/login.twig
What do you think the problem is ???

Jump to post
  • Wed Sep 02, 2020 3:53 pm
  • Replies 17
  • Views 1342
Re: How can I logout OpenCart 3 customer after 30 minutes of inactivity?

I would use: $this->response->redirect($this->url->link('account/login', 'inactive', true)); so you can check the get variable "inactive" on the sign-in page and set a message that the user was signed-out because of inactivity. otherwise set a message about the 30min inactivity limit on the sign-in...

Jump to post
  • Tue Sep 01, 2020 4:44 pm
  • Replies 17
  • Views 1342
Re: How can I logout OpenCart 3 customer after 30 minutes of inactivity?

Hi, I am new to OpenCart, I tried the code you mentioned earlier for OC 3.0.3.2 but didn't work, can anybody help ???
I want customers who already logged in to their account to be logged out after 30 minutes of inactivity, if the site is still open or closed.
Thanks

Jump to post
  • Tue Sep 01, 2020 3:09 pm
  • Replies 17
  • Views 1342

Page 1 of 1

Search found 5 matches