forked from gaboflowers/EmailRegistrationFilter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextension.json
More file actions
43 lines (43 loc) · 1.21 KB
/
extension.json
File metadata and controls
43 lines (43 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "EmailRegistrationFilter",
"author": ["gaboflowers", "derconno"],
"description": "Allows or denies account registration according to the submitted email account",
"descriptionmsg": "emailregistrationfilter-desc",
"version": "0.2",
"config": {
"PatternList": {
"value": [
"/.*@example\\.com$/"
],
"description": "List of patterns to preg_match against a submitted email"
},
"IsWhiteList": {
"value": true,
"description": "True only allows a registation if the email matches a pattern in the value. If false, the PatternList becomes a blacklist"
},
"ErrorMessage": {
"value": "emailregistrationfilter-default-error-msg",
"description": "Custom error message"
}
},
"ConfigRegistry": {
"EmailRegistrationFilter": "GlobalVarConfig::newInstance"
},
"AutoloadClasses": {
"EmailFilterPasswordPreAuthenticationProvider": "includes/EmailFilterPasswordPreAuthenticationProvider.php"
},
"AuthManagerAutoConfig": {
"preauth": {
"EmailFilterPasswordPreAuthenticationProvider": {
"class": "EmailFilterPasswordPreAuthenticationProvider"
}
}
},
"MessagesDirs": {
"EmailRegistrationFilter": [
"i18n"
]
},
"manifest_version": 2,
"license-name": "GPL-2.0-or-later"
}