diff --git a/internal/models/authentication/oauth.go b/internal/models/authentication/oauth.go index 6dd751c..1721fdc 100644 --- a/internal/models/authentication/oauth.go +++ b/internal/models/authentication/oauth.go @@ -36,7 +36,7 @@ func (m *OAuthModel) Values(h *helpers.Handler) map[string]any { boolattr.GetNot(m.Disabled, data, "enabled") providers := map[string]any{} if v := m.System; v != nil { - maps.Copy(providers, m.System.Values(h)) + maps.Copy(providers, v.Values(h)) } for name, provider := range m.Custom { data := provider.Values(h)