From d7eae8fe793897147344726bf35d90dca09679be Mon Sep 17 00:00:00 2001 From: Tuomo Tanskanen Date: Fri, 13 Jun 2025 18:30:48 +0300 Subject: [PATCH] remove extra method="get" from device-code template (#4145) In device-code template, same form tag has method="post", then followed by method="get".. Chrome can handle that as post just fine, but in headless environments you might be using Lynx, which uses GET: it results in 400 Bad Request from Dex server. Signed-off-by: Tuomo Tanskanen --- web/templates/device.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/device.html b/web/templates/device.html index 674cbdc3..944861c7 100644 --- a/web/templates/device.html +++ b/web/templates/device.html @@ -2,7 +2,7 @@

Enter User Code

-
+
{{ if( .UserCode )}}