diff options
| author | Leonardo Bishop <me@leonardobishop.net> | 2026-01-16 17:19:27 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.net> | 2026-01-16 17:19:27 +0000 |
| commit | e6cbb8415490524034561102b6c9f03e92e4dae7 (patch) | |
| tree | 2012f04c11adf636bdd06ae37f5ef3efd7a645a0 /web/handler/index.go | |
| parent | 8fc52adfdc705a1b05d3a0aef4d6e63f8ec0308d (diff) | |
Add OIDC auth
Diffstat (limited to 'web/handler/index.go')
| -rw-r--r-- | web/handler/index.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/handler/index.go b/web/handler/index.go index 5cf44cf..9279151 100644 --- a/web/handler/index.go +++ b/web/handler/index.go @@ -22,10 +22,12 @@ func GetIndex(tmpl *template.Template, registryClient *registry.RegistryClient) if err := tmpl.ExecuteTemplate(w, "index.html", struct { Challenges []string + Name string Team string }{ Challenges: challenges, - Team: session.Team, + Name: session.Name, + Team: session.TeamName, }); err != nil { http.Error(w, "Internal server error", http.StatusInternalServerError) return |
