Jump to content

Login form redirecting to login page


Recommended Posts

Hi there.

 

I've added a modified copy of the login form to the header of my prestashop so my users can log in from any page in the shop. It works as it should, It logs you in, the problem is that it redirects you to the login page and your username (and logout link for that matter) does not appear in the header, they appear once you refresh, or go to any other page.

 

My question is, if I loggin in corectly, how do I redirect myself to the page I once was before I logged in ? or at least redirect me to the index..

 

Thanks.

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...