Unique Login

Authentication ::: auth_uniquelogin
Maintained by António Vilela
This authentication plug-in prevents that each one Moodle user has more than one active session simultaneously.
Latest release:
763 sites
141 downloads
40 fans
Current versions available: 3

The goal of this authentication plug-in is to make sure that each user in Moodle only has one active session simultaneously. Once the user logs in, the existing previous session is terminated. Note that this does not work with SingleSignOn plugins.

To work properly, the plugin needs to be on top of the authentication plugins list and Database-stored sessions are enabled. Check the module documentation to more information.

Administrator can configure whether teacher and administrator roles are affected by the plugin.

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

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Comments

  • 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.
  • 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.
  • António Vilela
    Fri, 24 Feb 2017, 12:35 AM
    Hi Fritz. Hi don't understand your question.
  • 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.
  • 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
  • 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.
  • 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
  • Santiago Garcia
    Wed, 28 June 2017, 7:31 AM
    Hello António is there a way to suspend a user once it tried to connect from two computers?
  • Theocharis Livieratos
    Tue, 6 Feb 2018, 10:58 PM
    Hello guys. I was wondering if this plugin is compatible with the current version of moodle.
  • António Vilela
    Thu, 8 Feb 2018, 2:40 AM
    Hi Theocharis. Yes, the plugin is compatible with version 3.4.
  • António Vilela
    Thu, 8 Feb 2018, 2:42 AM
    Santiago, sorry for the late answer. Currently the plugin does not have that functionallity.
  • Rafael Ricardo Romero Acosta
    Sat, 7 July 2018, 4:54 AM
    Buen día Antonio, hay alguna manera de configurar el plugin para que en lugar de caducar la sesión abierta al abrir la nueva, evite como tal la apertura de una segunda sesión?
  • António Vilela
    Sat, 7 July 2018, 4:50 PM
    Hola Rafael, No there is not a way to do that. Only changing the plugin code. However that might have problems. If the user loses his session in an odd way and it is kept alive at the server, the user would have to wait 30 minutes to login again, or more, depending on the time configured on Moodle to kill inactive sessions.
  • Rekha C
    Mon, 15 Oct 2018, 12:04 AM
    Hi Antonio,
    Does Build: 2011051000 work with 3.5 ?
  • António Vilela
    Thu, 18 Oct 2018, 12:28 AM
    Hi Rekha C,
    Yes it works. But we have a new version 2018101700 to remove a warning in moodle 3.5
Please login to post comments