开发者

Devise - Restrict multiple sessions for same user

开发者 https://www.devze.com 2023-04-03 09:46 出处:网络
I have a subscription based app, charged on the basis of number of users added. I want to restrict users to single session.

I have a subscription based app, charged on the basis of number of users added.

I want to restrict users to single session.

How to implement it. I am using devise 开发者_如何转开发for authentication.

Thanks..


There is a devise extension with session limit support

https://github.com/phatworx/devise_security_extension

0

精彩评论

暂无评论...
验证码 换一张
取 消