Skip to content

Commit d6aad43

Browse files
committed
docs: add note on validation rules for registration
1 parent ff2ea5c commit d6aad43

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/customization/login_identifier.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public array $validFields = [
4848
You must write new **Validation Rules** and then set them using the
4949
[Customizing Validation Rules](./validation_rules.md#login) description.
5050

51+
!!! note
52+
53+
Not only the Validation Rules for **login**, but also the rules for
54+
[registration](./validation_rules.md#registration) should be updated. If you do
55+
not add the new **Validation Rules**, the new field will not be saved to the database.
56+
5157
## Customize Login View
5258

5359
1. Change the `login` view file in the **app/Config/Auth.php** file.

0 commit comments

Comments
 (0)