Adds AccountCreated event

This commit is contained in:
Sebastiaan Janssen
2017-04-29 23:17:50 +02:00
parent 33d09b14be
commit 311fcfe328
2 changed files with 14 additions and 0 deletions

View File

@@ -369,6 +369,14 @@ namespace Umbraco.Core.Security
});
}
internal void RaiseCreateUserEvent(int userId)
{
OnAuthResetAccessFailedCount(new IdentityAuditEventArgs(AuditEvent.AccountCreated)
{
AffectedUser = userId
});
}
public override Task<IdentityResult> UpdateAsync(T user)
{
var result = base.UpdateAsync(user);