-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
69 lines (69 loc) · 1.89 KB
/
config.json
File metadata and controls
69 lines (69 loc) · 1.89 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[
{
"name": "cookie_name",
"label": "Cookie Name",
"description": "The name of the cookie to store the login session",
"default": "auth",
"minLength": 5,
"maxLength": 50,
"required": true
},
{
"name": "session_time",
"label": "Session Time",
"description": "Session time in hours",
"type": "number",
"default": 24,
"min": 1,
"max": 360,
"required": true
},
{
"name": "geo",
"type": "checkbox",
"default": false,
"label": "Geo Location",
"description": "Enable Geo Location",
"children": [
{
"name": "range",
"default": 300,
"label": "Max Range",
"description": "Max range in kilo meter to allow login from last location, default 300 km",
"type": "number"
},
{
"name": "limit",
"default": 10,
"label": "Limit",
"description": "Max number of login from last location, default 10",
"type": "number"
}
]
},
{
"name": "google_auth",
"type": "checkbox",
"default": false,
"label": "Google Auth",
"description": "Enable Google Auth",
"children": [
{
"name": "client_id",
"default": "",
"required": true,
"label": "Client ID",
"description": "Google Client ID",
"type": "text"
},
{
"name": "client_secret",
"default": "",
"required": true,
"label": "Client Secret",
"description": "Google Client Secret",
"type": "text"
}
]
}
]