MDL-21342 add user login lockout

This commit is contained in:
Petr Škoda 2013-01-03 23:29:43 +01:00
parent 0dc5a532ec
commit b28247fe90
13 changed files with 550 additions and 49 deletions

View file

@ -30,6 +30,26 @@
defined('MOODLE_INTERNAL') || die();
/**
* Not used any more, the account lockout handling is now
* part of authenticate_user_login().
* @deprecated
*/
function update_login_count() {
// note: remove 'errortoomanylogins' string from moodle.php too
// TODO: uncomment in Moodle 2.5, delete function in Moodle 2.6
//debugging('update_login_count() is deprecated, all calls need to be removed');
}
/**
* Not used any more, replaced by proper account lockout.
* @deprecated
*/
function reset_login_count() {
// TODO: uncomment in Moodle 2.5, delete function in Moodle 2.6
//debugging('reset_login_count() is deprecated, all calls need to be removed');
}
/**
* Unsupported session id rewriting.
* @deprecated