Manjeet Kaur

CSRF: attack vector detected, missing form token field (version 7.8)

Discussion created by Manjeet Kaur on Feb 20, 2017
Latest reply on Mar 2, 2017 by Manjeet Kaur

When trying to create/modify any custom field in studio in Sugar version 7.8 getting below error in sugarcrm.log:
[FATAL] CSRF: attack vector detected, missing form token field
[FATAL] CSRF: auth failure for ModuleBuilder -> savetablesort

 


.......

I found blog https://developer.sugarcrm.com/2015/12/01/csrf-tokens-in-sugar-7-7/  for fixing this issue.

This suggests to update below code in the template file.

{sugar_csrf_form_token}

Has anyone faced this error and resolved it?

Any help will be appreciated.

Outcomes