File tree 1 file changed +5
-2
lines changed 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,14 @@ their logic. All events can be found in the constants of the
11
11
` FOS\UserBundle\FOSUserEvents ` class.
12
12
13
13
All controllers follow the same convention: they dispatch a ` SUCCESS ` event
14
- when the form is valid before saving the user, and a ` COMPLETE ` event when
14
+ when the form is valid before saving the user, and a ` COMPLETED ` event when
15
15
it is done. Thus, all ` SUCCESS ` events allow you to set a response if you
16
- don't want the default redirection. and all ` COMPLETE ` events give you access
16
+ don't want the default redirection. and all ` COMPLETED ` events give you access
17
17
to the response before it is returned.
18
18
19
+ Controllers with a form also dispatch an ` INITIALIZE ` event after the entity is
20
+ fetched, but before the form is created.
21
+
19
22
For instance, this listener will change the redirection after the password
20
23
resetting to go to the homepage instead of the profile:
21
24
You can’t perform that action at this time.
0 commit comments