diff --git a/auth.php b/auth.php index 1cb87358a..5830ef81b 100644 --- a/auth.php +++ b/auth.php @@ -34,4 +34,12 @@ */ class auth_plugin_saml2 extends \auth_saml2\auth { + /** + * Returns true if the plugin supports the new login flow for MFA. + * + * @return bool True + */ + public static function supports_mfa(): bool { + return true; + } }