|
|
|
@ -113,7 +113,7 @@ func (s *AuthDBServer) Registration(ctx context.Context, req *api.RegistrationRe |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
log.Printf("send code %s to %s ...", user.msg.Code, user.msg.Email) |
|
|
|
|
log.Printf("publication code %s to %s ...", user.msg.Code, user.msg.Email) |
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
err := s.kafkaWriter.WriteMessage([]byte(user.Login), value) |
|
|
|
@ -124,7 +124,7 @@ func (s *AuthDBServer) Registration(ctx context.Context, req *api.RegistrationRe |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
log.Printf("send code %s to %s completed", user.msg.Code, user.msg.Email) |
|
|
|
|
log.Printf("publication code %s to %s completed", user.msg.Code, user.msg.Email) |
|
|
|
|
|
|
|
|
|
return &api.RegistrationResponse{ |
|
|
|
|
Code: user.msg.Code, |
|
|
|
|