Project

General

Profile

Actions

Defect #9999

closed

opening a new session when already logged, cause an error

Added by Jérôme BATAILLE almost 13 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

This case happens when multiple redmine are opened in different tabs and that we want to relog without disconnecting

BUG FIX :
do not destroy a session that is already empty

NoMethodError (undefined method `destroy' for {}:Hash):
app/controllers/application_controller.rb:92:in `logged_user='
app/controllers/account_controller.rb:203:in `successful_authentication'


Files

fix_double_open_session.diff (481 Bytes) fix_double_open_session.diff Jérôme BATAILLE, 2012-01-16 12:12
Actions

Also available in: Atom PDF