diff options
author | azul <azul@riseup.net> | 2013-12-17 07:43:28 -0800 |
---|---|---|
committer | azul <azul@riseup.net> | 2013-12-17 07:43:28 -0800 |
commit | 3d0b0a2b871f08222dc3354afa0747239478d49c (patch) | |
tree | 065c3245739e7d574876732fc752efe5ccb12350 /users/app | |
parent | e2638a3a91cb2c6a426f856c4d1919be1a852b6a (diff) | |
parent | 91aea91d7091b740630551ec17d0274236545f4c (diff) |
Merge pull request #124 from jessib/feature/bugfix4756_login_crash
Feature/bugfix4756 login crash
Diffstat (limited to 'users/app')
-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 85a022e..ca228c2 100644 --- a/users/app/controllers/sessions_controller.rb +++ b/users/app/controllers/sessions_controller.rb @@ -1,6 +1,7 @@ class SessionsController < ApplicationController def new + redirect_to root_path if logged_in? @session = Session.new if authentication_errors @errors = authentication_errors |