Why does destroy action trigger HTTP authentication in Production in Rails 3?

后端 未结 2 1376
一整个雨季
一整个雨季 2020-12-12 04:28

Screenshot of what happens when I press \'delete\': http://twitpic.com/4mljuy

This is what I see in my production.log:

Started POST \"/clients/1\" fo         


        
相关标签:
2条回答
  • 2020-12-12 05:04

    You probably have a before filter on the application controller or on your controller with basic auth requested.

    Or, do you have any gems for authenication?

    0 讨论(0)
  • 2020-12-12 05:12

    Update to the latest jquery ujs driver which includes the CSRF token in each request to prevent your session from being reset since the changes in 3.0.4.

    0 讨论(0)
提交回复
热议问题