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:
802 sites
32 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.

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.

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


Screenshot #0


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

Comments RSS


  • Fri, Mar 1, 2019, 3:49 AM
    If you create the accounts manually using their email, and then users have to login using Facebook, I don't see any problem. Or does Facebook allow the same email on two accounts? I don't think it is possible.
  • Fri, Mar 1, 2019, 3:58 AM
    To António Vilela
    l think you have a point there and l think thats my best bet. l will definitely work towards that direction. the facebook and gmail login. Ang again, thank you very much for dedicating you time to help me get the solution. Thank you António.
  • Sun, Mar 3, 2019, 5:47 PM
    To António Vilela
    l would like to thank you for taking your time, all the efforts you made to point me to the right direction. As you have suggested. l have decided to use the OAuth 2 authentication which works like a charm! for those who are interested here is the link: https://docs.moodle.org/36/en/OAuth_2_authentication and here is my login page to my moodle LMS (having incorporated facebook and Google login) https://asifunde.co.za/asifunde/login/index.php
  • Tue, Mar 5, 2019, 12:36 AM
    To Brian Nyathi
    You are welcome. Happy to know you found a solution!
  • Tue, Mar 19, 2019, 2:12 PM
    Hello Is this applicable for SSO authentication esp.. SAML?
  • Tue, Mar 19, 2019, 11:42 PM
    To arturo guinto
    The plug-in will not work because SAML send the user out of moodle to login.
  • Thu, Sep 5, 2019, 12:20 AM
    Hi, I don't see an option to install it directly on my 3.7 installation
    Is it not compatible with 3.7?
  • Sat, Sep 7, 2019, 3:05 PM
    when i use unique id plugin shows unable to access- invalid login...please help
  • Mon, Sep 9, 2019, 9:38 PM
    @Alejandro Novoa The plugin has been successfully tested in version 3.6 and 3.7.
    @Vijaya Kumar Do not set Unique Login as a user authentication method. Please see the correct use in https://docs.moodle.org/20/en/Uniquelogin_authentication
  • Thu, Sep 12, 2019, 6:31 PM
    Thank you for your quick response it's working smile
  • Sat, May 30, 2020, 4:55 AM
    Hi Antonio, this plugin working in Moodle 3.8.3?....Thanks regards
  • Tue, Jun 9, 2020, 4:31 PM
    @JJ Prade The plugin has been successfully tested in version 3.8.
  • Mon, Dec 7, 2020, 12:55 PM
    It works fine. I recommend to anybody who uses this plugin that, follow the installation instructions. Moving the plug-in to the top position is very important. Otherwise, it may not work with some of the 2-factors verification plugins.
    Thank you, Antonio.
  • Wed, Dec 23, 2020, 5:33 PM
    When will version 3.9 be out? Any idea? Does version 3.8 work ok with 3.9
    Thanks and Merry Xmas.
  • Sat, Feb 6, 2021, 7:59 PM
    I've read the description above and several comments, and I am confused.
    If a user is already logged in, and tries to login again (on a different browser or device), what happens exactly? Will the second session be refused or will the first session be closed?
    I suggest that this is made clearer in the description, if possible.
Please login to post comments