Project

General

Profile

Feature #7413

Limit to one concurrent connection per account

Added by Julio Montoya over 4 years ago. Updated over 4 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
20/11/2014
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Limit to a single connection per account: ability to use multiple items or multiple IP addresses but NOT simultaneously.

Use a configuration parameter to enable this feature.

// Prevents one user account to connect from more than one device at a time
// $_configuration['prevent_multiple_simultaneous_login'] = true;

See: https://task.beeznest.com/issues/8796

Changes::

https://github.com/chamilo/chamilo-lms/commit/88126fe2e20114c0a62dcf282b37624ac6837965
https://github.com/chamilo/chamilo-lms/commit/98a218b7d4acb7eb278750d23050521be17662d1
https://github.com/chamilo/chamilo-lms/commit/f0b412817f177627ef32cdd5a9d130df2de23707

History

#1

Updated by Julio Montoya over 4 years ago

  • Description updated (diff)
#2

Updated by Julio Montoya over 4 years ago

  • Description updated (diff)
#3

Updated by Julio Montoya over 4 years ago

  • Status changed from New to Feature implemented
#4

Updated by Yannick Warnier over 4 years ago

  • Target version changed from 1.10.0 to 1.9.10

Actually it's in 1.9.10 then.

#5

Updated by Laura Guirao over 4 years ago

How can I test it?

In a Chamilo 1.9.10, I have uncommented this line: $_configuration['prevent_multiple_simultaneous_logins'] = true; in configuration.php file but it doesn't seem to work

It is necessary another configuration value?

#6

Updated by Yannick Warnier over 4 years ago

No, what you did should be enough, but you should also disconnect completely from the portal before connecting with two different browsers.

#7

Updated by Laura Guirao over 4 years ago

I have tested it with two browsers in my computer and also with two computers with different IP. I can access with the same user in both cases.
I don't know...

#8

Updated by Julio Montoya over 4 years ago

There was a typo, the configuration setting is: "login" instead of "logins"

$_configuration['prevent_multiple_simultaneous_login'] = true;
#9

Updated by Julio Montoya over 4 years ago

  • Description updated (diff)
#10

Updated by Laura Guirao over 4 years ago

Ok, with this change it works perfectly

Also available in: Atom PDF