diff --git a/templates/pages/admin_config.html b/templates/pages/admin_config.html index d296248..1e628be 100644 --- a/templates/pages/admin_config.html +++ b/templates/pages/admin_config.html @@ -54,19 +54,19 @@ OAuth -
Github Client key
{{ .c.GithubClientKey }}
-
Github Secret
{{ .c.GithubSecret }}
-
GitLab client Key
{{ .c.GitlabClientKey }}
-
GitLab Secret
{{ .c.GitlabSecret }}
+
Github Client key
{{ if .c.GithubClientKey }}<defined>{{ end }}
+
Github Secret
{{ if .c.GithubSecret }}<defined>{{ end }}
+
GitLab client Key
{{ if .c.GitlabClientKey }}<defined>{{ end }}
+
GitLab Secret
{{ if .c.GitlabSecret }}<defined>{{ end }}
GitLab URL
{{ .c.GitlabUrl }}
GitLab Name
{{ .c.GitlabName }}
-
Gitea client Key
{{ .c.GiteaClientKey }}
-
Gitea Secret
{{ .c.GiteaSecret }}
+
Gitea client Key
{{ if .c.GiteaClientKey }}<defined>{{ end }}
+
Gitea Secret
{{ if .c.GiteaSecret }}<defined>{{ end }}
Gitea URL
{{ .c.GiteaUrl }}
Gitea Name
{{ .c.GiteaName }}
-
OIDC client Key
{{ .c.OIDCClientKey }}
-
OIDC Secret
{{ .c.OIDCSecret }}
-
OIDC Discovery URL
{{ .c.OIDCDiscoveryUrl }}
+
OIDC client Key
{{ if .c.OIDCClientKey }}<defined>{{ end }}
+
OIDC Secret
{{ if .c.OIDCSecret }}<defined>{{ end }}
+
OIDC Discovery URL
{{ if .c.OIDCDiscoveryUrl }}<defined>{{ end }}