mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-13796 Committing new recaptcha element
This commit is contained in:
parent
6c5a2108b5
commit
9b5f87d27e
5 changed files with 84 additions and 23 deletions
|
@ -342,6 +342,17 @@ class auth_plugin_base {
|
|||
}
|
||||
return $authdescription;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether or not the captcha element is enabled, and the admin settings fulfil its requirements.
|
||||
* @abstract Implement in child classes
|
||||
* @return bool
|
||||
*/
|
||||
function is_captcha_enabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue