mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-12 03:49:19 +02:00
Prepare for merge
This commit is contained in:
parent
0566f90488
commit
e3ae09b525
4 changed files with 25 additions and 17 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue