On Dec 22, 10:36 am, Hitesh Rawal <[email protected]> wrote:
> Hi,
>
> I am using devise 1.0.8, and I want to restrict concurrent login of user
> i.e. same user should not be login from different browser or different
> location if he already login from some where.
>
> and if he really wants to login forcefully then other side sessions for
> that user should be clear and he should be logout from other sides.
>
> Any help would be greatly appreciated.

Clearance does this:

https://github.com/thoughtbot/clearance/wiki/concurrent-sign-in

In principle you should be able to do the same thing in Devise (reset
the authentication token on each signin).

--Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to