extensions/users-permissions/models/User.settings.json (view raw)
1{
2 "connection": "default",
3 "info": {
4 "name": "user",
5 "description": ""
6 },
7 "attributes": {
8 "username": {
9 "type": "string",
10 "minLength": 3,
11 "unique": true,
12 "configurable": false,
13 "required": true
14 },
15 "firstName": {
16 "type": "string",
17 "minLength": 3,
18 "configurable": false,
19 "required": true
20 },
21 "lastName": {
22 "type": "string",
23 "minLength": 3,
24 "configurable": false,
25 "required": true
26 },
27 "email": {
28 "type": "email",
29 "minLength": 6,
30 "configurable": false,
31 "required": true
32 },
33 "provider": {
34 "type": "string",
35 "configurable": false
36 },
37 "password": {
38 "type": "password",
39 "minLength": 6,
40 "configurable": false,
41 "private": true
42 },
43 "resetPasswordToken": {
44 "type": "string",
45 "configurable": false,
46 "private": true
47 },
48 "confirmed": {
49 "type": "boolean",
50 "default": false,
51 "configurable": false
52 },
53 "blocked": {
54 "type": "boolean",
55 "default": false,
56 "configurable": false
57 },
58 "role": {
59 "model": "role",
60 "via": "users",
61 "plugin": "users-permissions",
62 "configurable": false
63 }
64 }
65 }