title: Prevent multiple sessions accros model in devise
body: <p>I'm on <code>rails 6.0.3</code> and <code>devise 4.7.3</code></p>
  <p>I have 2 devise models in my rails application. <code>User</code> and <code>Producer</code></p>
  <ul>
  <li><p>On <code>localhost:3000/users/sign_in</code>, I can create a session with an user.</p>
  </li>
  <li><p>On <code>localhost:3000/producers/sign_in</code>, I can create a session with an producer.</p>
  </li>
  </ul>
  <p>I was suprised to have two parallels sesssions.</p>
  <p>In the situtation, I have acces in the same time to a <code>current_user</code> and a <code>current_producer</code>
  I want to prevent this, and if you sign in with a model, it sign out automatically with the other model.</p>
  <p>Thanks for advices.</p>