Fixed CORS and trait issue Kratos
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "https://schemas.ory.sh/presets/kratos/quickstart/email-password/identity.schema.json",
|
||||
"$id": "file:///etc/config/kratos/default.schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Person",
|
||||
"title": "default",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traits": {
|
||||
@@ -10,6 +10,7 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"title": "E-Mail",
|
||||
"minLength": 3,
|
||||
"ory.sh/kratos": {
|
||||
"credentials": {
|
||||
@@ -31,7 +32,7 @@
|
||||
"minLength": 3
|
||||
}
|
||||
},
|
||||
"required": ["email"],
|
||||
"required": ["email", "username"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user