hdong: rename.

This commit is contained in:
YouWeiDH 2024-06-28 18:08:56 +08:00
parent 41b8eb3d93
commit a53c800e3e
2 changed files with 2 additions and 2 deletions

View file

@ -9,5 +9,5 @@ public interface IAuthenticationHook
void AddClaims(List<Claim> claims);
void BeforeSending(Token token);
Task UserCreated(User user);
Task CreatorNewVerificationCode(User user);
Task VerificationCodeResetPassword(User user);
}

View file

@ -336,7 +336,7 @@ public class UserService : IUserService
var hooks = _services.GetServices<IAuthenticationHook>();
foreach (var hook in hooks)
{
hook.CreatorNewVerificationCode(record);
hook.VerificationCodeResetPassword(record);
}
return true;