Skip to content

Commit 42aa923

Browse files
committed
Allow tls
1 parent 07d9244 commit 42aa923

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/plugin/utils.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ func MongoUri(config *models.PluginSettings) (string, error) {
7979
return uri, errors.New("missing MongoDB username or password")
8080
}
8181
creds = fmt.Sprintf("%s:%s@", config.Username, config.Secrets.Password)
82-
} else if config.AuthMethod != "auth-none" {
83-
return uri, errors.New("unsupported auth method")
8482
}
8583

8684
if config.ConnectionParameters != "" {

0 commit comments

Comments
 (0)