diff --git a/src/Wilcommerce.Auth/Commands/Handlers/ValidatePasswordRecoveryCommandHandler.cs b/src/Wilcommerce.Auth/Commands/Handlers/ValidatePasswordRecoveryCommandHandler.cs
index b794011..32ca2ea 100644
--- a/src/Wilcommerce.Auth/Commands/Handlers/ValidatePasswordRecoveryCommandHandler.cs
+++ b/src/Wilcommerce.Auth/Commands/Handlers/ValidatePasswordRecoveryCommandHandler.cs
@@ -1,6 +1,7 @@
using System;
using System.Linq;
using System.Threading.Tasks;
+using Wilcommerce.Auth.Events.User;
using Wilcommerce.Auth.Models;
using Wilcommerce.Auth.ReadModels;
using Wilcommerce.Auth.Repository;
@@ -63,6 +64,9 @@ public async Task Handle(ValidatePasswordRecoveryCommand command)
token.SetAsExpired();
await Repository.SaveChangesAsync();
+
+ var @event = new PasswordRecoveryValidatedEvent(userToken.UserId, userToken.Token);
+ EventBus.RaiseEvent(@event);
}
catch
{
diff --git a/src/Wilcommerce.Auth/Wilcommerce.Auth.csproj b/src/Wilcommerce.Auth/Wilcommerce.Auth.csproj
index 2a6465d..73cf4a0 100644
--- a/src/Wilcommerce.Auth/Wilcommerce.Auth.csproj
+++ b/src/Wilcommerce.Auth/Wilcommerce.Auth.csproj
@@ -15,8 +15,8 @@
false
false
false
- 1.0.0-rc1
- Upgrade to .NET Standard 2.0 & .NET Core 2.0
+ 1.0.0-rc2
+ Add password recovery validated event
Wilcommerce Authentication and Authorization library