Prepare for merge

This commit is contained in:
Bolke de Bruin 2022-09-26 08:32:49 +02:00
parent 0566f90488
commit e3ae09b525
4 changed files with 25 additions and 17 deletions

View file

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