Skip to content

Commit

Permalink
ssh: return authErr on ErrDenied
Browse files Browse the repository at this point in the history
Signed-off-by: Maisem Ali <maisem@tailscale.com>
  • Loading branch information
maisem authored and iQQBot committed Jul 27, 2023
1 parent 023be46 commit 9e6db79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ userAuthLoop:
return nil, err
}

return nil, nil
return nil, authErr
}

authFailures++
Expand Down

0 comments on commit 9e6db79

Please sign in to comment.