{"action":"closed","issue":{"url":"https://api.github.com/repos/plataformatec/devise/issues/3750","labels_url":"https://api.github.com/repos/plataformatec/devise/issues/3750/labels{/name}","comments_url":"https://api.github.com/repos/plataformatec/devise/issues/3750/comments","events_url":"https://api.github.com/repos/plataformatec/devise/issues/3750/events","html_url":"https://github.com/plataformatec/devise/issues/3750","id":106149625,"number":3750,"title":"Add option to prevent multiple models signed in at the same time","user":{"login":"collimarco","id":90962,"avatar_url":"https://avatars.githubusercontent.com/u/90962?v=3","gravatar_id":"","url":"https://api.github.com/users/collimarco","html_url":"https://github.com/collimarco","followers_url":"https://api.github.com/users/collimarco/followers","following_url":"https://api.github.com/users/collimarco/following{/other_user}","gists_url":"https://api.github.com/users/collimarco/gists{/gist_id}","starred_url":"https://api.github.com/users/collimarco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collimarco/subscriptions","organizations_url":"https://api.github.com/users/collimarco/orgs","repos_url":"https://api.github.com/users/collimarco/repos","events_url":"https://api.github.com/users/collimarco/events{/privacy}","received_events_url":"https://api.github.com/users/collimarco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-12T11:33:08Z","updated_at":"2015-09-12T11:45:13Z","closed_at":"2015-09-12T11:45:13Z","body":"I have two separate Devise models (Consumer and Shop).\r\n\r\nI'm looking for a way to prevent a browser being logged in at the same time both as a Consumer and a Shop. For example, if he's logged in as a Consumer, he must first log out before logging in again as a Shop.\r\n\r\nIs there an option to force mutual exclusion (one model logged in at a time)?"}}