【发布时间】:2011-01-04 21:26:48
【问题描述】:
我们使用 devise 1.0.6 (Ruby 1.9.2 / Rails 2.3.8) 进行身份验证。
由于某些原因,用户身份验证在 IE8 中似乎不起作用,因为当注册用户登录时,他们没有被重定向到自己的桌面页面(desk_user_url,见下文)。他们被重定向到登陆(主页)页面。
=====
class MainController < ApplicationController
skip_before_filter :authenticate_user!, :except => [:support]
protect_from_forgery :except => :community
def landing
if user_signed_in?
redirect_to desk_user_url
return
end
end
======
但是,它在 Chrome 和 Firefox 中运行良好。
关于如何解决这个问题的任何想法?这是设计的问题还是其他原因?
谢谢。
【问题讨论】:
-
暂存中?域名是什么样的?它是带有下划线的子域吗?
标签: ruby-on-rails internet-explorer-8 rubygems devise