Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update login.register.md #502

Merged
merged 1 commit into from
Feb 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions en/extras/login/login.register.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "Register"
_old_id: "909"
_old_uri: "revo/login/login.register"
description: "Register snippet documentation"
---

## What is Register?
Expand Down Expand Up @@ -53,6 +52,7 @@ Register has some default properties packaged into it. They are:
| usernameField | The name of the field to use for the new User's username. | username |
| validate | A comma-separated list of fields to validate, with each field name as name:validator (eg: username:required,email:required). Validators can also be chained, like email:email:required. This property can be specified on multiple lines. | |
| validatePassword | Whether or not to validate the sent password when registering. Recommended to leave this Yes unless you are generating your own password in a hook. | 1 |
| validationErrorMessage | If you want to show a general message when the validation fails, you can use this property and `validation_error_message` placeholder | `register.validation_error_message` lexicon value |

### Validators

Expand Down
Loading