1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-02-15 09:12:58 +02:00

removed unused AuthProviderConfig.Meta field

This commit is contained in:
Gani Georgiev 2023-03-25 23:34:00 +02:00
parent 5678339af0
commit a4abe9e2cb

View File

@ -503,13 +503,12 @@ func (c LogsConfig) Validate() error {
// ------------------------------------------------------------------- // -------------------------------------------------------------------
type AuthProviderConfig struct { type AuthProviderConfig struct {
Enabled bool `form:"enabled" json:"enabled"` Enabled bool `form:"enabled" json:"enabled"`
ClientId string `form:"clientId" json:"clientId"` ClientId string `form:"clientId" json:"clientId"`
ClientSecret string `form:"clientSecret" json:"clientSecret"` ClientSecret string `form:"clientSecret" json:"clientSecret"`
AuthUrl string `form:"authUrl" json:"authUrl"` AuthUrl string `form:"authUrl" json:"authUrl"`
TokenUrl string `form:"tokenUrl" json:"tokenUrl"` TokenUrl string `form:"tokenUrl" json:"tokenUrl"`
UserApiUrl string `form:"userApiUrl" json:"userApiUrl"` UserApiUrl string `form:"userApiUrl" json:"userApiUrl"`
Meta map[string]any `form:"meta" json:"meta"`
} }
// Validate makes `ProviderConfig` validatable by implementing [validation.Validatable] interface. // Validate makes `ProviderConfig` validatable by implementing [validation.Validatable] interface.