-
Notifications
You must be signed in to change notification settings - Fork 239
PasswordReset does not seem to work #159
Comments
I'm running on the latest and just tested it and it's working. Are you running with a version from NuGet or the samples or your own custom copy of the code? You need to make sure there's an event handler registered for those events (password reset). |
I cannot get the latest code to compile, so I am using v.4.0.0. In the sample app, an PasswordResetRequestedEvent is definitely added. In the EventBus class, there's a method called RaiseEvent. when that is passed to GetHandlers, no items are returned in the matchingHandlers variable. So the foreach loop iterates 0 items. |
Ok, I'll look into the latest not compiling -- I've been doing a lot of changes over the past few days (I suspect it's some NuGet issue). As for the email -- did you comment out the line in ~/App_Start/MembershipRebootConfig.cs did you uncomment the lines that add the EmailAccountCreatedEventHandler and/or EmailAccountEventsHandler handler classes? |
Ah that's what did it. I had not uncommented that line in MembershipRebootConfig.cs |
The PasswordReset does not seem to work anymore.
I've been trying to reset a password using different smtp configurations, and an email never gets sent.
Debugging the code, the matchingHandlers variable in the method RaiseEvent(IEvent evt) always yields 0 handlers.
I think this used to work. Has something here been changed significantly?
Cheers
The text was updated successfully, but these errors were encountered: