Jump to content

Prestashop Reserved Words


jfpwork

Recommended Posts

Do not use word "token" as SQL table field for example.

 

This make confusion between your field and prestashop querystring token parameter in Back-Office

 

Avoid invalid security token in BO.

 

You have to use an other word as "chip" or "counter".

Edited by jfpwork (see edit history)
Link to comment
Share on other sites

Yep as you say, the word "token" is used everywhere in web security concept.

Prestashop used it.

It's not a bug just a reminder.

 

I just note:

Use "token" as a SQL field name, you will get issue in Back-Office:

- Invalid security modal for example.

- cannot Create/Update the database table in which token field exist. 

So a solution could be to set another fieldname as "chip" or "counter" ( or "whatyouwant")

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