On 10 Mar., 05:41, Youyou Semsem <rails-mailing-l...@andreas-s.net> wrote: > Hi, > I have this annoying popup window for Web Password whenever a click on a > javascript action which require authentication. I have the problem for > FF, IE and Chrome. The problem isn't seen for non javascript action > where the user gets redirected to the html login page. Ideally, I want > even js to redirect there. Here is my access_denied. By the way, I tried > removing the format.any(:xml,:js) completely and the page just don't > react when I click on JS. > > def access_denied <snip> > request_http_basic_authentication 'Web Password' <snip> > end
The #request_http_basic_authentication method prompts the user for a password. Maybe that is the "popup" you're talking about. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---