Raise unlocking and saving events from EditUser.aspx
This commit is contained in:
@@ -319,6 +319,14 @@ namespace Umbraco.Core.Security
|
||||
return await Task.FromResult(IdentityResult.Success);
|
||||
}
|
||||
|
||||
internal void RaiseAccountUpdatedEvent(int userId)
|
||||
{
|
||||
OnAccountUpdated(new IdentityAuditEventArgs(AuditEvent.AccountUpdated)
|
||||
{
|
||||
AffectedUser = userId
|
||||
});
|
||||
}
|
||||
|
||||
internal void RaisePasswordChangedEvent(int userId)
|
||||
{
|
||||
OnPasswordChanged(new IdentityAuditEventArgs(AuditEvent.PasswordChanged)
|
||||
@@ -343,6 +351,14 @@ namespace Umbraco.Core.Security
|
||||
});
|
||||
}
|
||||
|
||||
internal void RaiseAccountUnlockedEvent(int userId)
|
||||
{
|
||||
OnAccountUnlocked(new IdentityAuditEventArgs(AuditEvent.AccountUnlocked)
|
||||
{
|
||||
AffectedUser = userId
|
||||
});
|
||||
}
|
||||
|
||||
internal void RaiseResetAccessFailedCountEvent(int userId)
|
||||
{
|
||||
OnResetAccessFailedCount(new IdentityAuditEventArgs(AuditEvent.ResetAccessFailedCount)
|
||||
|
||||
Reference in New Issue
Block a user