You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/customization/login_identifier.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,9 @@ This only works with the Session authenticator.
21
21
'employee_id'
22
22
];
23
23
```
24
-
> **Warning**
25
-
> It is very important for security that if you add a new column for identifier, you must write a new **Validation Rules** and then set it using the [Customizing Validation Rules](./validation_rules.md) description.
24
+
!!! warning
25
+
26
+
It is very important for security that if you add a new column for identifier, you must write a new **Validation Rules** and then set it using the [Customizing Validation Rules](./validation_rules.md) description.
26
27
27
28
3. Edit the login form to change the name of the default `email` input to the new field name.
> If you customize the table names, set the correct table names in the
90
-
>rules.
87
+
!!! note
88
+
89
+
If you customize the table names, set the correct table names in the rules.
91
90
92
91
## Login
93
92
94
93
Similar to the process for validation rules in the **Registration** section, you can add rules for the login form to **app/Config/Validation.php** and change the rules.
0 commit comments