Project

General

Profile

Stop concurrent access

Added by Koushik Chatterjee over 7 years ago

Hi,

Is there any way to stop concurrent session for users?
If any user logout from one browser then he should be logged out from other browsers also.
I am using stable version Redmine 2.3.4
Please suggest if we can also use secure connection over intranet also.
Many thanks in advance.

Regards,
Koushik


Replies (3)

RE: Stop concurrent access - Added by Toshi MARUYAMA over 7 years ago

FTR: #26617.

RE: Stop concurrent access - Added by Go MAEDA about 7 years ago

The following patch (for Redmine 3.4) may be useful for you.

Index: app/models/token.rb
===================================================================
--- app/models/token.rb    (revision 16962)
+++ app/models/token.rb    (working copy)
@@ -40,7 +40,7 @@
   add_action :feeds,     max_instances: 1,  validity_time: nil
   add_action :recovery,  max_instances: 1,  validity_time: Proc.new { Token.validity_time }
   add_action :register,  max_instances: 1,  validity_time: Proc.new { Token.validity_time }
-  add_action :session,   max_instances: 10, validity_time: nil
+  add_action :session,   max_instances: 1, validity_time: nil

   def generate_new_token
     self.value = Token.generate_token_value

RE: Stop concurrent access - Added by KUNTAL MONDAL 3 months ago

What will be solution to overcome Concurrent users Session for Redmine version 5.1.1 stable?

Configured above setting but not working.

    (1-3/3)