mirror of
https://github.com/paralus/paralus.git
synced 2026-05-20 07:12:54 +00:00
record user.login event by kratos hooks (#111)
* record user.login event by kratos hooks Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io> * added test case for create login auditlog Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io> * updated change log Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
This commit is contained in:
committed by
GitHub
parent
f5cbe6ca1e
commit
cd55d2d1da
@@ -113,3 +113,7 @@ func (s *userServer) UserForgotPassword(ctx context.Context, req *rpcv3.UserForg
|
||||
return s.us.ForgotPassword(ctx, req)
|
||||
|
||||
}
|
||||
|
||||
func (s *userServer) AuditLogWebhook(ctx context.Context, req *rpcv3.UserLoginAuditRequest) (*rpcv3.UserLoginAuditResponse, error) {
|
||||
return s.us.CreateLoginAuditLog(ctx, req)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user