Commit 4ac905ba74b67be01811ea44f20eb5fe130f637e
1 parent
5956ff26
Exists in
master
and in
28 other branches
Fix remaining integration test
For some reason that statement makes the first test in test/integration/enterprise_registration_test.rb crash. But since there a reset_session just after that, and the functional tests for that controller still pass without that statement, I am removing it.
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
app/controllers/public/account_controller.rb
@@ -89,7 +89,6 @@ class AccountController < ApplicationController | @@ -89,7 +89,6 @@ class AccountController < ApplicationController | ||
89 | if logged_in? | 89 | if logged_in? |
90 | self.current_user.forget_me | 90 | self.current_user.forget_me |
91 | end | 91 | end |
92 | - cookies.delete :auth_token | ||
93 | reset_session | 92 | reset_session |
94 | session[:notice] = _("You have been logged out.") | 93 | session[:notice] = _("You have been logged out.") |
95 | redirect_to :controller => 'home', :action => 'index' | 94 | redirect_to :controller => 'home', :action => 'index' |