title: Is there a way to pass timeout parameter in sign in function of devise?
body: <p>I want to sign in as another user, but I want that session automatically expire after some time like 5 minutes.</p>
  
  <p>But my default expire time is 1 hour which I set in devise.rb as</p>
  
  <pre><code>config.timeout_in = 1.hour
  </code></pre>
  
  <p>Forexample I have a user list.
  one is test@test.com
  another is test2@test.com</p>
  
  <p>I am logged in as test@test.com.
  Now I want to login as test2@test.com,
  so I will sign out, and then sign as as</p>
  
  <pre><code>sign_out
  </code></pre>
  
  <p><code>sign_in (:user, test_user_2)</code></p>
  
  <p>But since my original account is test@test.com, and I am just logging in as test2@test.com for development purpose, I want that the session automatically timeout after some time (like 5 minutes) instead of 1 hour by default.</p>
  
  <p>Is there a way to pass timeout parameter in the sign in function of devise ?</p>