Skip to content

Commit 5ec31b7

Browse files
committed
Fixed the dispatched event
1 parent aa148c7 commit 5ec31b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/ResettingController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function resetAction(Request $request, $token)
109109
}
110110

111111
$event = new GetResponseUserEvent($user);
112-
$dispatcher->dispatch(FOSUserEvents::RESETTING_RESET_SUCCESS, $event);
112+
$dispatcher->dispatch(FOSUserEvents::RESETTING_RESET_INITIALIZE, $event);
113113

114114
if (null !== $event->getResponse()) {
115115
return $event->getResponse();

0 commit comments

Comments
 (0)