我正在使用装饰和康康宝石。当我签名时,我会重定向到sign_in页面

时间:2013-05-02 13:59:43

标签: devise cancan

这是日志

    Started POST "/users/sign_in" for 127.0.0.1 at 2013-05-02 09:57:19 -0400
    Processing by Devise::SessionsController#create as HTML
    Parameters: {"utf8"=>"✓", "authenticity_token"=>"abc=", "user"=>{"email"=>"xyz@abc.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
    User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."email" = 'xyz@abc.com' LIMIT 1
    Completed 401 Unauthorized in 9ms
    Processing by Devise::SessionsController#new as HTML
    Parameters: {"utf8"=>"✓", "authenticity_token"=>"xyz=", "user"=>{"email"=>"xyz@abc.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
    Rendered /Users/nitsingh/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.1.3/app/views/devise/shared/_links.erb (0.6ms)
    Rendered /Users/nitsingh/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.1.3/app/views/devise/sessions/new.html.erb within layouts/application

0 个答案:

没有答案