namespace user config dir with ocis

This commit is contained in:
A.Unger
2021-06-08 10:45:10 +02:00
parent c108d6d9f9
commit fb31bf4427
4 changed files with 17 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ package flagset
import (
"os"
"path"
"path/filepath"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/glauth/pkg/config"
@@ -51,7 +52,7 @@ func mustUserConfigDir() string {
if err != nil {
panic(err)
}
return path.Join(dir, "ldap")
return filepath.Join(dir, "ocis", "ldap")
}
// ServerWithConfig applies cfg to the root flagset