开发者

Compatibility of Authlogic with http_basic_authenticate_with

my Rails 3.1 application uses authlogic. I just added http_basic_authenticate_with so I can restrict access to the entire site for running a private beta, and it seems to have broken authlogic:

class ApplicationController < ActionController::Base
  protect_from_forgery

  http_basic_authenticate_with :name => "frodo", :password => "thering"

With the abo开发者_JAVA技巧ve code, when I try and login using Authlogic 3.0.3, the authentication fails without error, and redirects me to the user_sessions new action.

What's going on, I would like to use both!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜