jfpwork Posted April 24, 2016 Share Posted April 24, 2016 (edited) 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 April 24, 2016 by jfpwork (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted April 24, 2016 Share Posted April 24, 2016 token is not a reserved word of Prestashop, but a technical reserved/defined word. See what is a token: https://en.wikipedia.org/wiki/Security_token for the other two: counter and chip, I cannot confirm that they are reserved. Where are you seeing this ? Link to comment Share on other sites More sharing options...
jfpwork Posted April 24, 2016 Author Share Posted April 24, 2016 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 More sharing options...
selectshop.at Posted April 24, 2016 Share Posted April 24, 2016 In which table on database are you seeing a field called "token" ? There are none (and it's a developer knowledge that you cannot use this word as a field ), exact for the reason I told you. Did you tried to use it ? Link to comment Share on other sites More sharing options...
jfpwork Posted April 24, 2016 Author Share Posted April 24, 2016 (edited) "token" never used in prestashop tables as you say, and as i dont check Nevertheless, it's just to finalize the topic, never heard using "token" is avoid as SQL field name using WSSE for example. Edited April 25, 2016 by jfpwork (see edit history) 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