mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-21342 add user login lockout
This commit is contained in:
parent
0dc5a532ec
commit
b28247fe90
13 changed files with 550 additions and 49 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue