diff options
author | Azul <azul@leap.se> | 2012-12-11 13:01:24 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-11 13:01:24 +0100 |
commit | f3f42086e9f325560444f42c6b54269546114167 (patch) | |
tree | 782d5fec3278feeddad707a6aa7b6e4c37546a13 /users/app/controllers/sessions_controller.rb | |
parent | 1a26988cb7ff30061473f4a781166b184b3037ce (diff) |
make sure can login twice
Diffstat (limited to 'users/app/controllers/sessions_controller.rb')
-rw-r--r-- | users/app/controllers/sessions_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/app/controllers/sessions_controller.rb b/users/app/controllers/sessions_controller.rb index bc910b5..0345fbd 100644 --- a/users/app/controllers/sessions_controller.rb +++ b/users/app/controllers/sessions_controller.rb @@ -11,6 +11,7 @@ class SessionsController < ApplicationController end def create + logout if logged_in? authenticate! end |