From a53c800e3e7808e5e739059e0792abafe2d34771 Mon Sep 17 00:00:00 2001 From: YouWeiDH Date: Fri, 28 Jun 2024 18:08:56 +0800 Subject: [PATCH] hdong: rename. --- .../BotSharp.Abstraction/Users/IAuthenticationHook.cs | 2 +- src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs b/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs index c95ac02c..cbc18dd5 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs @@ -9,5 +9,5 @@ public interface IAuthenticationHook void AddClaims(List claims); void BeforeSending(Token token); Task UserCreated(User user); - Task CreatorNewVerificationCode(User user); + Task VerificationCodeResetPassword(User user); } diff --git a/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs b/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs index e65dfb23..03fe8bc4 100644 --- a/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs +++ b/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs @@ -336,7 +336,7 @@ public class UserService : IUserService var hooks = _services.GetServices(); foreach (var hook in hooks) { - hook.CreatorNewVerificationCode(record); + hook.VerificationCodeResetPassword(record); } return true;