summaryrefslogtreecommitdiff
path: root/users/app/controllers/v1/sessions_controller.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-17 10:36:13 +0100
committerAzul <azul@leap.se>2012-12-17 10:36:13 +0100
commitd64ab283b7bce0d296bb743f030c5361af663456 (patch)
treed3979c63f555e7076799f9fd0277c72ca5a8d01e /users/app/controllers/v1/sessions_controller.rb
parent842845abffda2cf9abe38bac48d5c4b7cf3714b5 (diff)
parentff9d29df260b29a1c20441e25e2fc3fdf9ee1fb3 (diff)
Merge branch 'master' into develop
Diffstat (limited to 'users/app/controllers/v1/sessions_controller.rb')
-rw-r--r--users/app/controllers/v1/sessions_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/app/controllers/v1/sessions_controller.rb b/users/app/controllers/v1/sessions_controller.rb
index 5b4a13b..27d10fb 100644
--- a/users/app/controllers/v1/sessions_controller.rb
+++ b/users/app/controllers/v1/sessions_controller.rb
@@ -12,6 +12,7 @@ module V1
end
def create
+ logout if logged_in?
authenticate!
end