Skip to content

Commit ff588d8

Browse files
committed
autogen(docs): generate cli docs
1 parent 61e6416 commit ff588d8

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

docs/kratos/concepts/messages.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,22 @@
742742
"text": "The new password must be different from the old password.",
743743
"type": "error"
744744
},
745+
{
746+
"id": 4000040,
747+
"text": "Enter a valid email address",
748+
"type": "error",
749+
"context": {
750+
"value": "{value}"
751+
}
752+
},
753+
{
754+
"id": 4000041,
755+
"text": "Enter a valid phone number",
756+
"type": "error",
757+
"context": {
758+
"value": "{value}"
759+
}
760+
},
745761
{
746762
"id": 4010001,
747763
"text": "The login flow expired 1.00 minutes ago, please try again.",

docs/kratos/concepts/ui-messages.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,32 @@
13281328
}
13291329
```
13301330

1331+
###### Enter a valid email address (4000040)
1332+
1333+
```json
1334+
{
1335+
"id": 4000040,
1336+
"text": "Enter a valid email address",
1337+
"type": "error",
1338+
"context": {
1339+
"value": "{value}"
1340+
}
1341+
}
1342+
```
1343+
1344+
###### Enter a valid phone number (4000041)
1345+
1346+
```json
1347+
{
1348+
"id": 4000041,
1349+
"text": "Enter a valid phone number",
1350+
"type": "error",
1351+
"context": {
1352+
"value": "{value}"
1353+
}
1354+
}
1355+
```
1356+
13311357
###### The login flow expired 1.00 minutes ago, please try again. (4010001)
13321358

13331359
```json

0 commit comments

Comments
 (0)