mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-12 20:09:18 +02:00
refactor tunnel and transport
This commit is contained in:
parent
ce6692d22f
commit
eb1b287751
12 changed files with 302 additions and 258 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue