Authentication: Unique Login

auth_uniquelogin
Maintained by Picture of António Vilela António Vilela
This authentication plug-in prevents that each one Moodle user has more than one active session simultaneously.
587 sites
266 downloads
15 fans

The goal of this authentication plug-in is to make sure that each user in Moodle only has one active session simultaneously.

To work properly, the plugin needs that Database-stored sessions are enabled. Have a look at the module documentation on http://docs.moodle.org/20/en/Uniquelogin_authentication to more information.

This plugin is being maintained by ED-ROM, the portuguese Moodle Partner.

Screenshots

Screenshot #0

Contributors

Picture of António Vilela
António Vilela (Lead maintainer): Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of António Vilela
    Wed, 13 Jan 2016, 12:16 AM
    Hi Katja Laakso and Chema Alonso, we launched a new version that is compatible with the version 3.0.
    Hi Rekha C. what type of user are you using? Teacher or Student? Did you see all steps in the installation (https://docs.moodle.org/20/en/Uniquelogin_authentication)?
  • Picture of Chema Alonso
    Thu, 28 Jan 2016, 11:52 PM
    Last version works fine here with Moodle 3.0.2+. Thanks for the upgrade smile

    I see that the plugin messages are available only in English and Portuguese. I case you are interested in adding it to the plugin, I've placed a translation to Spanish here:

    http://bit.ly/1KHuj3K

    By the way, looking at the original file in english I see a message "Aplicar Teacher'. Shouldn't it be changed to 'Apply Teacher'

    Thanks again.
  • Picture of Jack Eapen
    Wed, 26 Oct 2016, 8:28 PM
    Hi, I can a see a setting in Moodle -"Limit concurrent logins", using which I can limit concurrent logins. what is the difference in using this plugin?
  • Picture of António Vilela
    Wed, 26 Oct 2016, 8:45 PM
    This plugin is older than that setting. It is a recent setting (2.9). However, it has some differences, namely, when the limit is reached, Moodle kills the older sessions while the plugin does not allow for a new login. The plugin is also general, it may be combined with other auth plugins while that setting does not work with Single sign on plugins.
  • Picture of Rekha C
    Fri, 13 Jan 2017, 1:00 AM
    Hi Antonio, please provide for 3.2 version. Missed your reply on 13 jan - i am on 2.9.3 looking to upgrade to 3.2. I require that more than one smartphones must not be able to access a login on custom mobile app, in addition to now allowing login on the desktop site via browsers. Now, with one login, on the custom app, 2 people can use the same login.
  • Picture of António Vilela
    Fri, 20 Jan 2017, 10:20 PM
    Hi Rekha C we have successfully tested the version 2011051000 in Moodle 3.2.
    Mobile App uses autentication by token therefore the plugin will not work. Because when user signing into the APP with other phone will get the same token.
  • Picture of Milciades Ramirez
    Tue, 7 Feb 2017, 4:36 AM
    hello friends... I installed this extension waiting to avoid any kind of user two or more simultenous logins... I found only administrators and teachers but nothing about students... Any ideas?
    Thanks in advance...
  • Picture of António Vilela
    Tue, 7 Feb 2017, 7:43 PM
    Hi Milciades Ramirez. You can activate the module for Administrators and teachers. For students it is always activated.
  • Picture of Fritz Richter
    Thu, 23 Feb 2017, 5:47 AM
    Hi António, In a post above you wrote that the Unique Login plugin "does not allow for a new login", whereas the Moodle core setting "Limit concurrent logins" only kills the older session. I can't see that Unique Login does something else.
  • Picture of António Vilela
    Fri, 24 Feb 2017, 12:35 AM
    Hi Fritz. Hi don't understand your question.
  • Picture of Geovanni Ramdani
    Wed, 15 Mar 2017, 12:18 PM
    Hi António, i have tried your Unique Login Plugin, but i want to make it the second user who tried to open user one account's cannot login or session denied if user one is online and using it's account. can you help me? thanks before.
  • Picture of Juan Carlos Zabaleta
    Tue, 9 May 2017, 6:52 AM
    Buenas tardes. Muy interesante tan importante discusión. Me pueden ayudar con precisión. Qué pluguin puedo utilizar para impedir que segundas personas puedan acceder cuando una sesión ya este iniciada y con qué otro se puede vincular para cerrar sesión luego de un tiempo programable por inactividad del usuario. Mi versión actual es 2.6.5, pero si debo actualizar a otra versión me pueden sugerir, cual es la que mejor comportamiento ha tenido con esta función de una sola cesión abierta? Muchas gracias desde Colombia
  • Picture of António Vilela
    Wed, 10 May 2017, 11:32 PM
    Hi Geovanni, That is not the way this plugin works. And the way you are looking for might create situations that the user lost his session in an odd way and it might keep alive at the server. In this case the user would have to wait 30 minutes, or more, depending on the time configured on Moodle to kill inactive sessions, to login again.
  • Picture of António Vilela
    Wed, 10 May 2017, 11:35 PM
    Hi Juan Carlos Zabaleta, The unique login kills the old session when a new session is established. See my previous answer to Geovanni. About killing the session due to inactivity: https://docs.moodle.org/32/en/Session_handling#Timeout
  • Picture of Santiago Garcia
    Wed, 28 Jun 2017, 7:31 AM
    Hello António is there a way to suspend a user once it tried to connect from two computers?
1 2 3 4
Please login to post comments