Uniquelogin authentication: Difference between revisions
From MoodleDocs
Uniquelogin authentication | |
---|---|
Type | Unique authentication |
Set | N/A |
Downloads | http://moodle.org/plugins/view.php?plugin=auth_uniquelogin |
Issues | to be added |
Discussion | to be added |
Maintainer(s) | António Vilela |
m (Added link to spanish translation of page) |
m (removed non-existing link to portuguese translation) |
||
Line 40: | Line 40: | ||
==See also== | ==See also== | ||
*[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum | *[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum | ||
[[Category:Contributed code]] | [[Category:Contributed code]] |
Latest revision as of 21:57, 16 April 2016
This document describes how to set up Uniquelogin Authentication in Moodle.
This is integrated into Moodle 1.9 onwards.
The Unique Authentication module is available for download from the Moodle plugins directory: http://moodle.org/plugins/view.php?plugin=auth_uniquelogin
Overview
The goal of Uniquelogin Authentication plugin is to make sure that each user in Moodle can only have one active session simultaneoulsy.
The code is prepared to work on Moodle 1.9 and 2.X as it addresses modifications in session table and database access through global DB instance.
Assumptions
To work properly, the plugin needs the following:
- Database-stored sessions are enabled (see Notes/Tips bellow).
- Uniquelogin is active in authentication plugins page.
Installation
- Download the plug-in file from http://moodle.org/plugins/view.php?plugin=auth_uniquelogin
- Unzip the file to authentication plug-ins folder moodle/auth/
- On the Administration Block, click on Site administration » Users » Authentication » Manage authentication
- Enable the authentication plug-in called Unique login
- Move the plug-in to the top position
Notes/Tips
- As mentioned in Assumptions, you must use database-stored sessions to use this plug-in. To achieve this follow these steps:
- On the Administration Block, click on Site administration » Server » Session Handling
- Enable the setting Use database for session information