From 0e7e51c580220baae8d8919da19fa871e324bd67 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Fri, 20 Dec 2024 17:09:43 -0500 Subject: [PATCH] test/mini-oidc: drop unused param Signed-off-by: Simon Deziel --- test/mini-oidc/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/mini-oidc/main.go b/test/mini-oidc/main.go index 836952d9c90e..9fc295cbd3d5 100644 --- a/test/mini-oidc/main.go +++ b/test/mini-oidc/main.go @@ -54,7 +54,7 @@ func main() { // Only configure device code authentication. router.HandleFunc("/device", func(w http.ResponseWriter, r *http.Request) { - userCodeHandler(storage, w, r) + userCodeHandler(storage, r) }) // Register the root to handle discovery. @@ -73,7 +73,7 @@ func main() { } } -func userCodeHandler(storage *storage.Storage, w http.ResponseWriter, r *http.Request) { +func userCodeHandler(storage *storage.Storage, r *http.Request) { name, _ := usernameAndEmail() err := r.ParseForm()