hdong: rename.
This commit is contained in:
parent
41b8eb3d93
commit
a53c800e3e
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue