leoCodesAShop Posted September 19, 2023 Share Posted September 19, 2023 I am coding a module which auto login a user via SimpleSAML authentification. Everything works fine just when i click something in the shop the sign out button dissappears and the login button comes back as if im logged in anymore. but if i press it i just see my accout data and it shows that im still logged in. instantly after logging in... After pressing somewhere... (sorry for the german xD) if someone has an idea why that happens please let me know i would be very greatful Thank you all, Leo Link to comment Share on other sites More sharing options...
leoCodesAShop Posted September 20, 2023 Author Share Posted September 20, 2023 Nvm i used $this->context->updateCustomer($customer); everytime a header loads what broke the cookie i guess solved it with this if statement if(!$this->context->customer->isLogged()) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now