Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Uniquelogin authentication.

Uniquelogin authentication

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
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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:

  1. Database-stored sessions are enabled (see Notes/Tips bellow).
  2. Uniquelogin is active in authentication plugins page.

Installation

  1. Download the plug-in file from http://moodle.org/plugins/view.php?plugin=auth_uniquelogin
  2. Unzip the file to authentication plug-ins folder moodle/auth/
  3. On the Administration Block, click on Site administration » Users » Authentication » Manage authentication
  4. Enable the authentication plug-in called Unique login
  5. Make sure Database-stored sessions are enabled (see Activate database-stored sessions bellow).

Activate database-stored sessions

  • As mentioned in Assumptions, you must use database-stored sessions to use this plug-in. To achieve this follow these steps:
  1. On the Administration Block, click on Site administration » Server » Session Handling
  2. Enable the setting Use database for session information

See also