🗑️ Remove directory service on identity

This commit is contained in:
LittleSheep 2024-03-16 14:47:16 +08:00
parent 97995e464d
commit caf75166a0
2 changed files with 1 additions and 6 deletions

View File

@ -2,6 +2,7 @@ package server
import (
"fmt"
"github.com/gofiber/fiber/v2"
"github.com/spf13/viper"
)
@ -11,7 +12,6 @@ func getMetadata(c *fiber.Ctx) error {
"name": viper.GetString("name"),
"domain": viper.GetString("domain"),
"open_registration": !viper.GetBool("use_registration_magic_token"),
"directory": viper.Get("directory"),
})
}

View File

@ -32,8 +32,3 @@ refresh_token_duration = 2592000
[database]
dsn = "host=localhost dbname=hy_identity port=5432 sslmode=disable"
prefix = "identity_"
[[directory]]
name = "Goatpass"
description = "Authorization Serivce"
link = "https://id.smartsheep.studio"