[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/login/ -> lib.php (summary)

Login library file of login/password related Moodle functions.

Copyright: Catalyst IT
Copyright: Peter Bulmer
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 313 lines (15 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  core_login_process_password_reset_request()
  core_login_process_password_set()
  core_login_generate_password_reset()
  core_login_get_return_url()

Functions
Functions that are not part of a class:

core_login_process_password_reset_request()   X-Ref
Processes a user's request to set a new password in the event they forgot the old one.
If no user identifier has been supplied, it displays a form where they can submit their identifier.
Where they have supplied identifier, the function will check their status, and send email as appropriate.


core_login_process_password_set($token)   X-Ref
This function processes a user's submitted token to validate the request to set a new password.
If the user's token is validated, they are prompted to set a new password.

param: string $token the one-use identifier which should verify the password reset request as being valid.
return: void

core_login_generate_password_reset($user)   X-Ref
No description

core_login_get_return_url()   X-Ref
No description



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1