阅读背景:

如何从Rails控制台注销设计用户?

来源:互联网 

My devise users are "database_authenticatable" and "token_authenticatable". I've tried deleting the "authentication_token" field in the database for that user from the console, but they still seem to be able to use their existing auth token. Deleting the user entirely works, but I don't want to go that far.My devise users are "database_authenticatable"




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

分享到: