相关疑难解决方法(0)

确认链接点击使用设计宝石后避免登录?

我正在使用devisegem,点击确认链接后,我想直接登录.目前要求再次登录.

最近我在devise初始化文件中添加了以下内容:

config.allow_insecure_token_lookup = true
config.secret_key = 'a8d814803c0bcc735ce657adc77793459d00154cdd7532c13d3489600dc4e963f86e14beb593a32cbe9dbbe9197c9ce50a30102f363d90350052dc8d69930033'
Run Code Online (Sandbox Code Playgroud)

有什么建议?

ruby-on-rails devise ruby-on-rails-3 devise-confirmable

38
推荐指数
3
解决办法
1万
查看次数