Skip to content

Commit 1143f71

Browse files
Maisem AliiQQBot
authored andcommitted
ssh: return authErr on ErrDenied
Signed-off-by: Maisem Ali <[email protected]>
1 parent a30fcda commit 1143f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssh/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ userAuthLoop:
697697
return nil, err
698698
}
699699

700-
return nil, nil
700+
return nil, authErr
701701
}
702702

703703
authFailures++

0 commit comments

Comments
 (0)