refactor tunnel and transport

This commit is contained in:
Bolke de Bruin 2022-09-24 11:23:41 +02:00
parent ce6692d22f
commit eb1b287751
12 changed files with 302 additions and 258 deletions

View file

@ -45,7 +45,8 @@ func (s *AuthServiceImpl) Authenticate(ctx context.Context, message *auth.UserPa
})
r := &auth.AuthResponse{}
r.Authenticated = false
r.Authenticated = true
return r, nil
if err != nil {
log.Printf("Error authenticating user: %s due to: %s", message.Username, err)
r.Error = err.Error()