-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.settings.json
36 lines (35 loc) · 1.58 KB
/
example.settings.json
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
{
"//": "The fields outside /public are only visible on the server side:",
"accounts-drupal": {
"site": "http://drupal8.example.org",
"site_options": {
"//": "You can add any option in this object, most usefully \"auth\": \"user:password\""
},
"updaters": [
"// An array of hostnames of IP addresses from which to accept updates",
"// A single Drupal site is likely to need several such addresses, one per web server",
"// They will often differ from the IP of the 'site' , which is likely to be a proxy",
"127.0.0.1"
],
"anonymousName": "Anome",
"appToken": "sometoken",
"//": "A hash of field names to be exposed as root properties on the user object:",
"//": "- 'profile' is part of accounts-base. Use any non-empty string to include it",
"//": "- 'username' and 'emails' belong to accounts-password, but have specific handling in accounts-base too.",
"//": "- No other field can be added at user root without tweaking the 'users' publication",
"//": "For 'username' and 'emails', values are field names into the whoami result object.",
"//": "For emails, if the value is a string, it will be wrapped in an array to match meteor requirements",
"//": "If 'rootFields' is not provided, it will default to {profile: 'profile', username: 'name', emails: 'email'}.",
"rootFields": {
"profile": "profile",
"username": "name",
"emails": "email"
}
},
"public": {
"accounts-drupal": {
"//": "Fields below public are visible on the client side:",
"backgroundLogin": 300
}
}
}