Reset Password

General plugins (Local) ::: local_resetpassword
Maintained by Aaron Leggett, Chris Clark, Learning Works, Jeremy self portraitJeremy FitzPatrick
This local plugin allows an external service to access Moodle's reset password functionality.

Reset Password 1.0 (Build: 20140814)

Moodle 2.4, 2.5, 2.6, 2.7, 2.8
Released: Thursday, August 14, 2014, 8:04 AM

moodle-local_resetpassword

/** * @package local * @subpackage resetpassword * @copyright 2014 Aaron Leggett * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */

This local plugin allows an external service to access moodles reset password functionality. By posting a secure key, along with the user accounts email address, the local plugin will check against certain criteria before loggin, and sending the moodle password reset email.

The plugin checks a series of events before allowing the password reset email to be sent. 1 - Checks the plugin has been enabled (plugin setting disabled by default) 2 - Checks the encrypted key from the POST message matches the one stored in moodle (plugin setting) 3 - Checks the user exists in the moodle user table 4 - Checks the user is not an admin (admins have been restricted from using this plugin for security reasons)

The plugin works by an external service sending a POST request to the following plugin file [YOUR MOODLE URL] / local / resetpassword / reset.php eg moodle.example.com/local/resetpassword/reset.php

The file requires two variables to be posted to it. e - the email address of the account k - the encrypted key

The encrypted key that is posted to the file is created by concatenation of the email address and the private key (set in moodle), this is then encrypted with MD5.

eg e = test@test.com k = MD5('test@test.com' . 'private key')

For any further information regarding this plugin, please see the GITHUB issues or email the developer with the details below - https://github.com/SMERKY/moodle-local_resetpassword/issues - aaron@aaronleggett.com

Version information

Version build number
2014081401
Version release name
1.0 (Build: 20140814)
Can be updated from
1.0 (Build: 2014060501)
Maturity
Stable version
MD5 Sum
13efd3a531cd062920bd976ae52b160c
Supported software
Moodle 2.4, Moodle 2.5, Moodle 2.6, Moodle 2.7, Moodle 2.8
  • Latest release for Moodle 2.4
  • Latest release for Moodle 2.5
  • Latest release for Moodle 2.6
  • Latest release for Moodle 2.7
  • Latest release for Moodle 2.8

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type General plugins (Local)

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder in the "local" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation.