阅读背景:

使用Devise,如何自定义失败的身份验证?

来源:互联网 

I have a controller that uses Devise to authenticate actions. I'd like the default behavior of responding with a 401 on every action except for one. I'd like to proceed with the request but provide a different response body. I have a controller that uses Devise to authent




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: