Skip to content

Commit

Permalink
Updates docs
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho committed Nov 14, 2023
1 parent c4c9c6c commit 0058e0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion web/docs/auth/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,9 @@ export const updatePassword: UpdatePassword<
### Default validations
Wasp includes several basic validation mechanisms for the auth fields.
When you are using the default authentication flow, Wasp validates the fields with some default validations. These validations run if you use Wasp's built-in [Auth UI](/docs/auth/ui) or if you use the provided auth actions.
If you decide to create your [custom auth actions](/docs/auth/username-and-pass#2-creating-your-custom-sign-up-action), you'll need to run the validations yourself.
Default validations depend on the auth method you use.
Expand Down
2 changes: 1 addition & 1 deletion web/docs/auth/username-and-pass.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ export const signup: CustomSignup<
</TabItem>
</Tabs>

We suggest using the built-in args validators for your authentication flow. You can import them from `@wasp/auth/validation.js`.
We suggest using the built-in field validators for your authentication flow. You can import them from `@wasp/auth/validation.js`. These are the same validators that Wasp uses internally for the default authentication flow.

#### Username

Expand Down

0 comments on commit 0058e0a

Please sign in to comment.