Skip to content

Commit

Permalink
Merge branch 'release/1.0.0-rc2'
Browse files Browse the repository at this point in the history
  • Loading branch information
albx committed Dec 22, 2017
2 parents ad9e497 + 129a101 commit 620c567
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions src/Wilcommerce.Auth/Wilcommerce.Auth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<Version>1.0.0-rc1</Version>
<PackageReleaseNotes>Upgrade to .NET Standard 2.0 &amp; .NET Core 2.0</PackageReleaseNotes>
<Version>1.0.0-rc2</Version>
<PackageReleaseNotes>Add password recovery validated event</PackageReleaseNotes>
<Description>Wilcommerce Authentication and Authorization library</Description>
</PropertyGroup>

Expand Down

0 comments on commit 620c567

Please sign in to comment.