Skip to content

Commit

Permalink
test/mini-oidc: drop unused param
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Dec 20, 2024
1 parent 2ca87c2 commit 0e7e51c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/mini-oidc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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()
Expand Down

0 comments on commit 0e7e51c

Please sign in to comment.