summaryrefslogtreecommitdiffstats
path: root/web/handler/index.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.net>2026-01-16 17:19:27 +0000
committerLeonardo Bishop <me@leonardobishop.net>2026-01-16 17:19:27 +0000
commite6cbb8415490524034561102b6c9f03e92e4dae7 (patch)
tree2012f04c11adf636bdd06ae37f5ef3efd7a645a0 /web/handler/index.go
parent8fc52adfdc705a1b05d3a0aef4d6e63f8ec0308d (diff)
Add OIDC auth
Diffstat (limited to 'web/handler/index.go')
-rw-r--r--web/handler/index.go4
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