Your Moodle version

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.
304
490
8
Moodle 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0

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
    Tue, Jan 6, 2015, 1:35 AM
    Hi Lavanya Manne. Did you try the plugin with as admin account? Administrators are allowed to have multiple logins.
  • Picture of Michael Tran
    Tue, Apr 28, 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?
  • Picture of sentient consultant
    Sat, May 2, 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.
  • Picture of António Vilela
    Wed, May 6, 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.
  • Picture of Baptiste Lhoste
    Fri, May 29, 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 ?
  • Picture of António Vilela
    Tue, Jun 9, 2015, 11:54 PM
    Hi Baptiste,
    Yes, that is how the plugin is working now. We will release a new version soon with the possibility to choose which roles are limited by unique login, including teachers (on 1 or more courses) and admins. Probably in August the new version will be available.
  • Picture of Baptiste Lhoste
    Thu, Nov 19, 2015, 4:44 PM
    Hi António,
    I would like to know if the new version will be available any time soon.
    We would like to enable anonymous login so we want to disable unique login for guest user.
    Baptiste
  • Picture of Alfonso CIS
    Wed, Nov 25, 2015, 8:19 PM
    I just installed the Unique login to Moodle 2.8.6, I followed the steps in the documentation. But the same user is logging twice in moodle. How I can fix it?

    I have screenshots of the configuration as I have (not as able to add that you can see)

    Thank you
  • Picture of António Vilela
    Wed, Nov 25, 2015, 9:09 PM
    Alfonso, I sent you a private message.
  • Picture of Katja Laakso
    Sat, Dec 5, 2015, 6:13 PM
    Hey!
    It seems this plugin does not support Moodle 3.0?

    I just upgraded to Moodle 3.0 and the plugin gave me this error message: "Coding error detected. This should be fixed by a programmer: session_kill_ user () is removed, use \core\Session\manager :: kill_user_sessions() instead". I was unable to login until I disabled Unique login plugin.

    Is there something i missed or should I just wait for a new version?

    Thanks! smile
  • Picture of Chema Alonso
    Wed, Dec 9, 2015, 10:53 PM
    Same thing here, I've had to disable the plugin to login.

    Regards.
  • Picture of Rekha C
    Mon, Jan 11, 2016, 12:39 AM
    Not working on 2.8.9 , user can login on 2 browsers mozilla and safari. Please help.
  • Picture of Rekha C
    Tue, Jan 12, 2016, 5:43 PM
    Module works on different laptops and logs out one laptop. Module does not work on 2 browsers on the same laptop. Does not work on smartphones, ie. a desktop and 2 smartphones can login with same user id at the same time. 2 smartphones can login at the same time with the same user id.
  • Picture of António Vilela
    Wed, Jan 13, 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, Jan 28, 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.
1 2 3 4
Please login to post comments