V15: User password resetting notification (#18679)

* Introduce UserPasswordResettingNotification

* Removed changes to IUserService interface.

---------

Co-authored-by: Andy Butland <abutland73@gmail.com>
This commit is contained in:
Nikolaj Geisle
2025-04-09 08:28:12 +01:00
committed by GitHub
parent d9d66465f6
commit 76f27726c5
3 changed files with 56 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Models.Membership;
namespace Umbraco.Cms.Core.Notifications;
public class UserPasswordResettingNotification : CancelableObjectNotification<IUser>
{
public UserPasswordResettingNotification(IUser target, EventMessages messages) : base(target, messages)
{
}
public IUser User => Target;
}