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:
@@ -62,6 +62,7 @@ public static partial class UmbracoBuilderExtensions
|
||||
services.AddScoped<IBackOfficeUserStore, BackOfficeUserStore>();
|
||||
services.AddScoped<ICoreBackOfficeUserManager, BackOfficeUserManager>();
|
||||
services.AddScoped<IInviteUriProvider, InviteUriProvider>();
|
||||
services.AddScoped<IForgotPasswordUriProvider, ForgotPasswordUriProvider>();
|
||||
|
||||
services.AddSingleton<IBackOfficeUserPasswordChecker, NoopBackOfficeUserPasswordChecker>(); ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user