mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Compare commits
3 Commits
ci-testing
...
supports-m
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b49538e24d | ||
|
|
10b201b638 | ||
|
|
7625353660 |
9
auth.php
9
auth.php
@@ -65,4 +65,13 @@ class auth_plugin_outage extends auth_plugin_base {
|
||||
public function user_login($username, $password) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the plugin supports the new login flow for MFA.
|
||||
*
|
||||
* @return bool True
|
||||
*/
|
||||
public static function supports_mfa(): bool {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user