summaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-09-04 16:07:26 +0300
committerPaul Buetow <pbuetow@mimecast.com>2020-09-04 16:07:26 +0300
commitc562a013ef7e40e3a7f6126a6d327552f2bc557f (patch)
treeb97ad9f6335a7ba44f316f4630c8e90384dbd0d6 /internal/config
parent7e7e39eab15a346af6d2859086bfbffbd32875aa (diff)
add ssh relaxed auth mode
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/server.go b/internal/config/server.go
index 83ff45f..db12cec 100644
--- a/internal/config/server.go
+++ b/internal/config/server.go
@@ -61,6 +61,8 @@ type ServerConfig struct {
Continuous []Continuous `json:",omitempty"`
}
+var ServerRelaxedAuthEnable bool
+
// Create a new default server configuration.
func newDefaultServerConfig() *ServerConfig {
defaultPermissions := []string{"^/.*"}