From b86dd2dafe9720599b26ce1e736e0e72c590c606 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerg=C5=91=20Tisza?= Date: Tue, 14 Jun 2016 21:21:02 +0000 Subject: [PATCH] registration: Support Change/RemoveCredentialsBlacklist in extension.json Change-Id: I4d796a46d99daa8841fcdcbe76dddf9db46af9ed --- docs/extension.schema.json | 8 ++++++++ includes/registration/ExtensionProcessor.php | 2 ++ 2 files changed, 10 insertions(+) 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', -- 2.20.1