From: Gergő Tisza Date: Tue, 14 Jun 2016 21:21:02 +0000 (+0000) Subject: registration: Support Change/RemoveCredentialsBlacklist in extension.json X-Git-Tag: 1.31.0-rc.0~6528^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=b86dd2dafe9720599b26ce1e736e0e72c590c606;p=lhc%2Fweb%2Fwiklou.git registration: Support Change/RemoveCredentialsBlacklist in extension.json Change-Id: I4d796a46d99daa8841fcdcbe76dddf9db46af9ed --- diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 1d2b2f0568..4eb313566b 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -535,6 +535,14 @@ "type": "object", "description": "Central ID lookup providers" }, + "ChangeCredentialsBlacklist": { + "type": "object", + "description": "AuthenticationRequest classes which can only be used internally for credentials change" + }, + "RemoveCredentialsBlacklist": { + "type": "object", + "description": "AuthenticationRequest classes which can only be used internally for credentials removal" + }, "namespaces": { "type": "array", "description": "Method to add extra namespaces", diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index 78f9370845..ac9b5262b6 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -26,6 +26,8 @@ class ExtensionProcessor implements Processor { 'SessionProviders', 'AuthManagerAutoConfig', 'CentralIdLookupProviders', + 'ChangeCredentialsBlacklist', + 'RemoveCredentialsBlacklist', 'RateLimits', 'RecentChangesFlags', 'MediaHandlers',