开发者

Rail3 - Browser is asking for a username & password when not signed in

开发者 https://www.devze.com 2023-01-18 02:17 出处:网络
recently my Rails 3 app started asking for a username and password via a browser prompt when loading the home page and not signed in...

recently my Rails 3 app started asking for a username and password via a browser prompt when loading the home page and not signed in...

<%= javascript_include_tag :all, :cache => true %>

I was able to determine that it's the开发者_JAVA技巧 line above causing the issue. If I remove that it doesn't happen.

Ideas? Have you seen this before ?

Thanks


Woops! Turns out I had an ajax call for signed in users in the application.js...

bad bad me

0

精彩评论

暂无评论...
验证码 换一张
取 消