diff options
Diffstat (limited to 'weed/command/iam.go')
| -rw-r--r-- | weed/command/iam.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/weed/command/iam.go b/weed/command/iam.go index b0b0fc52a..f67173389 100644 --- a/weed/command/iam.go +++ b/weed/command/iam.go @@ -3,9 +3,10 @@ package command import ( "context" "fmt" - "github.com/seaweedfs/seaweedfs/weed/util/version" "net/http" + "github.com/seaweedfs/seaweedfs/weed/util/version" + "time" "github.com/gorilla/mux" @@ -15,6 +16,12 @@ import ( "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb" "github.com/seaweedfs/seaweedfs/weed/security" "github.com/seaweedfs/seaweedfs/weed/util" + + // Import credential stores to register them + _ "github.com/seaweedfs/seaweedfs/weed/credential/filer_etc" + _ "github.com/seaweedfs/seaweedfs/weed/credential/memory" + _ "github.com/seaweedfs/seaweedfs/weed/credential/postgres" + _ "github.com/seaweedfs/seaweedfs/weed/credential/sqlite" ) var ( |
