Skip to content

Commit 273f199

Browse files
sapklunny
authored andcommitted
setting: don't require same running user for internal SSH (like win platform) (#7215)
1 parent cde4105 commit 273f199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/setting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ func forcePathSeparator(path string) {
438438
// This check is ignored under Windows since SSH remote login is not the main
439439
// method to login on Windows.
440440
func IsRunUserMatchCurrentUser(runUser string) (string, bool) {
441-
if IsWindows {
441+
if IsWindows || SSH.StartBuiltinServer {
442442
return "", true
443443
}
444444

0 commit comments

Comments
 (0)