feat(auth): Add option to disable registration and tenant creation
This commit is contained in:
@@ -68,7 +68,7 @@ func main() {
|
||||
app.Post("/logout", controllers.LogoutController)
|
||||
app.Post("/session/info", controllers.SessionInfoController)
|
||||
|
||||
if config.ENV == "development" {
|
||||
if config.Environment == "development" {
|
||||
app.Get("/api_keys", controllers.CreateApiKeyController)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user