From f03ab1c7d51fb70a95b055f0409555ba14b27d12 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Wed, 2 Feb 2022 17:37:36 +0000 Subject: [PATCH] Autocomplete 2fa code --- app/views/devise/two_factor_authentication/show.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/devise/two_factor_authentication/show.html.erb b/app/views/devise/two_factor_authentication/show.html.erb index b4959255f..a742056fe 100644 --- a/app/views/devise/two_factor_authentication/show.html.erb +++ b/app/views/devise/two_factor_authentication/show.html.erb @@ -13,6 +13,7 @@ <%= f.govuk_number_field :code, label: { text: "Security code" }, width: 5, + autocomplete: 'one-time-code', autofocus: true %>