mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-42097 auth: Webservice auth uses tokens only not passwords
This commit is contained in:
parent
0b3bd8cb7f
commit
b2ff512c59
@ -90,10 +90,12 @@ class auth_plugin_webservice extends auth_plugin_base {
|
||||
/**
|
||||
* Returns true if this authentication plugin is 'internal'.
|
||||
*
|
||||
* Webserice auth doesn't use password fields, it uses only tokens.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function is_internal() {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user