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
139 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

  • Collins Ubido
    Thu, 12 Sep 2013, 6:56 PM
    I have just installed the Unique login to Moodle 2.5.1 but movement of the Unique login selection to top of the Authentication methods list cannot get the Unique Login to the first line. It only moves as far up to the third place, i.e. below Manual accounts and No login authentication methods.
    Therefore It did not work as specified. Any suggestions ?
  • Cédric Mallet
    Thu, 14 Nov 2013, 4:45 PM
    Hi,
    has anyone successfully tested the plugin on moodle 2.5 ? It does not seem to work for me. Thank you
  • Gentle Mark
    Sat, 16 Nov 2013, 2:36 PM
    Has been a very useful plugin. Looking forward for availability of this plugin for version 2.5 and above. Because of this I am not upgrading to latest Moodle versions. Thanks and tons of appreciations to the developer of this plugin. Truly this is a Unique plugin. Love it.
  • Rob Skeet
    Wed, 15 Jan 2014, 11:34 PM
    Similar situation to Collins Ubido
    I have just installed the Unique login to Moodle 2.6 but movement of the Unique login selection to top of the Authentication methods list cannot get the Unique Login to the first line. It only moves as far up to the third place, i.e. below Manual accounts and No login authentication methods.
    Therefore It did not work as specified. is it because this is only compatible to 2.4? is there a new version coming? Please help!
  • António Vilela
    Fri, 17 Jan 2014, 7:57 PM
    The plugin can be in third place and still works fine.
    We have just tested it with Moodle 2.6.1 (Build: 20140113).
    Did you activate the recording of sessions on the database? Please have a look at the documentation:http://docs.moodle.org/20/en/Uniquelogin_authentication#Notes.2FTips
  • syed zaidi
    Mon, 3 Mar 2014, 6:07 PM
    Can you please update the download link as it is showing : 2.x (Build: 2013010100) (2013010100) for Moodle 2.0, 2.1, 2.2, 2.3, 2.4"

    And as per your last comment "We have just tested it with Moodle 2.6.1 (Build: 20140113)."
    Please provide the latest build for download.
  • António Vilela
    Thu, 6 Mar 2014, 5:47 PM
    We have just updated the version info. Version 2013010100 works correctly in Moodle 2.6.
  • Makŏ Williams-Angmor
    Wed, 22 Oct 2014, 12:01 AM
    hi Antonio, I am happy you have made this plug-in, however I will need 2010120100 version. i think i am using 2.7. Can you please help me?
  • António Vilela
    Wed, 22 Oct 2014, 3:22 AM
    Hi Mako. The plug-in is working on Moodle 2.7 too. Just download the latest build (Build: 2011051000) and install it.
  • Lavanya Manne
    Tue, 6 Jan 2015, 12:28 AM
    I am looking for a plugin where an user can have only one active session i.e., logged into firefox with one account and then logged into the same account on chrome browser, in such case the user shouldn't be allowed to lo gin in anymore.

    Recently, I had installed unique lo gin authentication plugin for moodle2.8+. The installation was good to go without errors. I followed the instructions as given in the plugin documentation.

    (1) Enabled session handling

    (2) Moved the plugin to the top position in Manage authentication.

    But still the user is able to lo gin into fire fox, again in with the same account in chrome. Overall the plugin was not working.

    Could you please guide me where I was going wrong..

    Many Thanks!!!!
  • António Vilela
    Tue, 6 Jan 2015, 1:35 AM
    Hi Lavanya Manne. Did you try the plugin with as admin account? Administrators are allowed to have multiple logins.
  • Michael Tran
    Tue, 28 Apr 2015, 12:40 PM
    Hi everyone I can confirm what Lavanya is saying can be replicated in my environment which is moodle2.8 using mysql5 and apache2 on a ubuntu linux installation.
    I could not move the uniquelogin plugin at the top in the Manage authentication, I could only get it to the third position as described by others.

    I am testing by logging in as a student on my laptop and also on a separate device (tablet)

    Any ideas?
    How can I confirm that sessions are really being handled by the database as opposed to files?
    Is there any debug information I can obtain to figure out what could be causing this?
  • sentient consultant
    Sat, 2 May 2015, 9:49 AM
    I tried this on moodle2.8 as well. Doesn't seem to work as the position of the plugin still remains 3rd. I cannot move it any further. any help is much appreciated.
  • António Vilela
    Wed, 6 May 2015, 6:22 PM
    On Moodle 2.8 is no longer possible to move the unique login plugin to the first position. However, this does not compromise the plugin functionallity.
    I have just tested it on Moodle 2.8.2+ (Build: 20150123) and the plugin works fine.

    You must ensure that the dbsessions option is Administration>Server>Sessions is active.
  • Baptiste Lhoste
    Fri, 29 May 2015, 8:47 PM
    Hi,
    First of all, thanks for this plugin.
    Nevertheless I can not have multiple logins with my Administrator account. Is it normal ?
Please login to post comments