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 <[email protected]>
  • Loading branch information
Maisem Ali authored and iQQBot committed Aug 21, 2022
1 parent ce0c30c commit 1a8056a
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 @@ -697,7 +697,7 @@ userAuthLoop:
return nil, err
}

return nil, nil
return nil, authErr
}

authFailures++
Expand Down

0 comments on commit 1a8056a

Please sign in to comment.