Jump to content

Authenticaion bug in ajax connections


Hadi Mollaei

Recommended Posts

Hi.

Today I wanted to make my module Ajax connection safety so users with no administration permissions can not send success request.

After 2 hours I could not find right solution.

I tried some other modules Ajax requests. Unfortunately some of them work after I logout from admin panel.

I made a movie you can see at attached file.

Of course  the request has a token but in my opinion the ajax request should not work with the token though.

After all, I want to make my module Ajax file safety. Is there a official way to do that, like Tools?

Thanks for answering.

prestashp_ajax_bug.mp4

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...