Skip to content

Commit d070ec2

Browse files
Update new-password-provided-workflow.mdx
Update for customer feedback https://discord.com/channels/1070212618549219328/1162110647748808764/1361736390789824572
1 parent 0c63562 commit d070ec2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/workflows/example-workflows/new-password-provided-workflow.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ Example
103103
```jsx
104104
const isMinCharacters = context.auth.firstPassword.length >= 50;
105105

106-
kinde.widget.invalidateFormField("p_password_1", "Provide a password at least 50 characters long");
106+
kinde.widget.invalidateFormField("p_first_password", "Provide a password at least 50 characters long");
107107

108108
```
109109
110110
The field names for this workflow are
111111
112112
| Field name | Description |
113113
| --- | --- |
114-
| `p_password_1` | The first password field |
115-
| `p_password_2` | The second password field, typically to check it matches the first to help prevent typos |
114+
| `p_first_password` | The first password field |
115+
| `p_second_password` | The second password field, typically to check it matches the first to help prevent typos |

0 commit comments

Comments
 (0)