Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Uniquelogin authentication.

Uniquelogin authentication

From MoodleDocs
Revision as of 18:15, 3 August 2010 by Emanuel Delgado (talk | contribs)

This document describes how to set up Uniquelogin Authentication in Moodle.

This is integrated into Moodle 1.9 onwards.

The Unique Authentication module will be available in the Modules and Plugins database. When it is ready the link will be HERE.

Overview

Authentication plugin goal is to make sure that each user in Moodle only has one active session simultaneoulsy.

The code is prepared to work on Moodle 2.0 as it addresses modifications in session table and database access through global DB instance. This modifications will be reviewed and altered if needed when stable versions are launched.

Assumptions

  1. Database-stored sessions are enabled.
  2. Uniquelogin is ative in authentication plugins page.

Installation

  1. Download the plug-in file from http://moodle.org/mod/data/view.php?d=13&rid=4060
  2. Unzip the file to authentication plug-ins folder moodle/auth/
  3. As adminsitrator go to Users » Auhentication » Manage authentication
  4. Enable the authentication plug-in called Unique login

Notes/Tips

  • As mentioned in Assumptions, you must use database-stored sessions to use this plug-in. To achieve this follow these steps:
  1. Go to Server » Session Handling
  2. Enable the parameter Use database for session information

See also