aaandre
aaandre

Reputation: 2512

One session per user in Rails 3 with Thoughtbot Clearance?

Is there an established way to do this?

Thank you!

Upvotes: 0

Views: 269

Answers (1)

Steve Bourne
Steve Bourne

Reputation: 951

Are you asking how to make Clearance work such that the user can only be logged in on one machine at a time? (i.e. a user signing in on a particular machine ends their session anywhere else they're signed in?)

If so, here's your answer (Clearance wiki)

If not, can you clarify your question?

Upvotes: 2

Related Questions