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: en/extras/login/login.register.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ Register has some default properties packaged into it. They are:
49
49
| useExtended | Whether or not to set any extra fields in the form to the Profiles extended field. This can be useful for storing extra user fields. | 1 |
50
50
| usergroups | Optional. A comma-separated list of User Group names or IDs to add the newly-registered User to. ||
51
51
| usergroupsField | Optional. The name of the field to use for the new User's usergroups, eg: using checkbox or radio input. ||
52
+
| usergroupsFieldAllow | Optional. A comma-separated list of User Group names or IDs the newly-registered User can be added to. Only used if this value and the usergroupsField property is not blank. ||
53
+
| usergroupsFieldDisallow | Optional. A comma-separated list of User Group names or IDs to prevent the newly-registered User from being added to. Only used if this value and the usergroupsField property is not blank. ||
52
54
| usernameField | The name of the field to use for the new User's username. | username |
53
55
| 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. ||
54
56
| 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 |
0 commit comments