User forgot password functionality for Management API (#14704)
* Added attribute filter to ensure a request is taking a minimum time to response * Added functionality to management api to send forgot password emails and verify these + do the actual reset using the token * Renamed UserKey to UserId and updated OpenApi.json * Update src/Umbraco.Core/Services/IUserService.cs Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> * Cleanup * Renaming param * Fixing send user username instead of email + wrong EmailTypes * Fixed issue with forgot password functionality after reusing other functionality * Rename prop * Adding docs and renaming param * Handle password validation return types * More cleanup --------- Co-authored-by: Elitsa <elm@umbraco.dk> Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
This commit is contained in:
10
src/Umbraco.Core/Models/UserForgotPasswordMessage.cs
Normal file
10
src/Umbraco.Core/Models/UserForgotPasswordMessage.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Umbraco.Cms.Core.Models.Membership;
|
||||
|
||||
namespace Umbraco.Cms.Core.Models;
|
||||
|
||||
public class UserForgotPasswordMessage
|
||||
{
|
||||
public required Uri ForgotPasswordUri { get; set; }
|
||||
|
||||
public required IUser Recipient { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user