fixes for cli auth

This commit is contained in:
niravparikh05
2022-04-28 21:35:42 +05:30
parent e9b9b2b7f4
commit 13e78d6b07
9 changed files with 184 additions and 163 deletions

View File

@@ -329,7 +329,7 @@ func setup() {
if dev {
cc.Profile = "staging"
} else {
cc.Profile = "production"
cc.Profile = "prod"
}
ks = service.NewApiKeyService(db, auditLogger)
us = service.NewUserService(providers.NewKratosAuthProvider(akc), db, as, ks, cc, auditLogger, dev)