Rubytastic
Rubytastic

Reputation: 15491

ruby on rails + devise and how to make sure they are logged-in only 1 time?

In ruby on rails with devise how could one check if a user is logged-in 1 time? Its possible to login with multiple browser with the same account.

I need every user to be able to login only 1time, is this possible somehow?

Upvotes: 0

Views: 231

Answers (1)

Alper Karapınar
Alper Karapınar

Reputation: 2694

As answered here there is a devise plugin for this.

It has an issue with recent versions of devise, but still, there are forks dealing with issue.

Upvotes: 2

Related Questions