setting: don't require same running user for internal SSH (like win platform) (#7215)

release/v1.15
Antoine GIRARD 2019-06-16 04:49:07 +02:00 committed by Lunny Xiao
parent cde410521c
commit 273f1997ff
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ func forcePathSeparator(path string) {
// This check is ignored under Windows since SSH remote login is not the main
// method to login on Windows.
func IsRunUserMatchCurrentUser(runUser string) (string, bool) {
if IsWindows {
if IsWindows || SSH.StartBuiltinServer {
return "", true
}