Skip to content

Commit e909056

Browse files
authored
registration.form.name
the alias of your custom form needs to be defined on the ``name`` property rather than the ``type`` property of the form configuration
1 parent 8a1e0f6 commit e909056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/doc/overriding_forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ changing the registration form type in YAML.
149149
# ...
150150
registration:
151151
form:
152-
type: app_user_registration
152+
name: app_user_registration
153153
154154
Note how the ``alias`` value used in your form type's service configuration tag
155155
is used in the bundle configuration to tell the FOSUserBundle to use your custom

0 commit comments

Comments
 (0)