Browse Source

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

tags/v1.9.0-rc1
Antoine GIRARD Lunny Xiao 6 years ago
parent
commit
d4238d7c0b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/setting/setting.go

+ 1
- 1
modules/setting/setting.go 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
}



Loading…
Cancel
Save