Adds AccountCreated event
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user