3 Commits

Author SHA1 Message Date
Sasha Anastasi
b49538e24d Align documentation with standard 2023-11-16 15:32:41 +13:00
Sasha Anastasi
10b201b638 Add documentation for new function 2023-11-16 14:16:16 +13:00
Sasha Anastasi
7625353660 auth.php: add supports_mfa function for T18 core_mfa compatibility test 2023-11-16 14:02:14 +13:00

View File

@@ -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;
}
}