login issue

login issue

napisao/la maggie jelli -
Broj odgovora: 10

Hi

A user can login in to system from two different local system in a same time!

How can i solve this problem?


U odgovoru na maggie jelli

Re: login issue

napisao/la Richard Oelmann -
Slika Core developers Slika Particularly helpful Moodlers Slika Plugin developers Slika Testers

Please do not post repeatedly and in multiple forums - this is the third post asking the exact same question in 2 different forums all within not much more than 12 hours!

U odgovoru na maggie jelli

Re: login issue

napisao/la Dan Marsden -
Slika Core developers Slika Particularly helpful Moodlers Slika Peer reviewers Slika Plugin developers Slika Plugins guardians Slika Testers Slika Translators

Take a look at: https://moodle.org/plugins/view/auth_uniquelogin

I haven't used it or reviewed the code - but it might provide what you are looking for.

U odgovoru na Dan Marsden

Re: login issue

napisao/la maggie jelli -

thanx for recommending unique-logging plugin , but by this plugin, a user can log in second time and the last session terminates, but i want to have my first session on , and new logging cant access to site.

it is more regularly.

U odgovoru na maggie jelli

Re: login issue

napisao/la Emma Richardson -
Slika Documentation writers Slika Particularly helpful Moodlers Slika Plugin developers

In 2.9 you can turn on a feature that only allows a single login at once...

U odgovoru na Emma Richardson

Re: login issue

napisao/la maggie jelli -

where can i turn this feature? thanx for helping

U odgovoru na maggie jelli

Re: login issue

napisao/la Marjan Milošević -

It's in the path below. You have option "limit concurrent logins"


U odgovoru na Marjan Milošević

Re: login issue

napisao/la maggie jelli -

i used the limit concurrent logins , but it terminates the oldest session that logged into moodle, i want the oldest session is not terminated by any other logins . i mean all new logins get restricted because of the oldest session (the first login ).

U odgovoru na maggie jelli

Re: login issue

napisao/la Emma Richardson -
Slika Documentation writers Slika Particularly helpful Moodlers Slika Plugin developers

Have you considered the consequences of that?  I see that as a terrible idea.

Example, you log into Moodle from work.  You forget to log out.  You go somewhere else and try to login and you are effectively unable  to log in until you return to the original login location...

U odgovoru na Emma Richardson

Re: login issue

napisao/la maggie jelli -

Thats right, but what if some one finds our password and logs in from somewhere else . so he can log in easily and bother the main user.

I think the first login (session) shouldnt be terminated at all by other sessions.

U odgovoru na maggie jelli

Re: login issue

napisao/la Just H -

Thats right, but what if some one finds our password and logs in from somewhere else . so he can log in easily and bother the main user.

That's a security issue and remedial actions would have to be taken e.g. user policies, password policies, tracking down the person with the "stolen password" and blocking his/her IP etc.

I think the first login (session) shouldnt be terminated at all by other sessions.

That is a usability issue and I highly doubt would be implemented, nor should it given the amount of devices a user could employ be it desktop, laptop, phone, tablet or even TV.

Normally it really annoys me when people post saying something shouldn't be done, ignoring the reality the person that posted asking for help has to live with, but in this case, changing it the way you want to is, IMHO, a very bad idea unless it's in a severely restricted case such as Moodle only accessible via LAN.