0
    
    
        
                    1977485679@qq.com created
                    
                    
                    
                
                8 Answer(s)
- 
    0See https://abp.io/support/questions/4603/AntiforgeryValidationException-while-trying-to-enter-SettingManagement#answer-3a09a7dc-d4bf-0b46-862a-cb116f0bf123 
- 
    0
- 
    0
- 
    0context.Services.AddAntiforgery(options => { options.Cookie.SecurePolicy = CookieSecurePolicy.None; options.Cookie.Name = "XSRF-TOKEN"; });Can I use this configuration? 
- 
    0No, please configure the AbpAntiForgeryOptions
- 
    0I cleaned up the solution and successfully generated a new one. The AbpAntiForgeryOptions configuration will take effect. Is there any mechanism for this? 
- 
    0Hi, Does the AbpAntiForgeryOptionswork in a new project but not yours?Could you share a test project with me, I will check it. shiwei.liang@volosoft.com 
- 
    0Perhaps my language expression is incorrect, but this configuration is now in effect thank you 




 
                                