From c58a2a83aad14801be055f011124702e15e0d014 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Thu, 20 Oct 2022 15:57:47 +0200
Subject: [PATCH] layout in 2fa

---
 app/controllers/users/two_factor_authentication_controller.rb | 1 -
 config/routes.rb                                              | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/users/two_factor_authentication_controller.rb b/app/controllers/users/two_factor_authentication_controller.rb
index bc2df1827..ecb05b903 100644
--- a/app/controllers/users/two_factor_authentication_controller.rb
+++ b/app/controllers/users/two_factor_authentication_controller.rb
@@ -1,4 +1,3 @@
 class Users::TwoFactorAuthenticationController < Devise::TwoFactorAuthenticationController
   include Users::LayoutChoice
-  
 end
diff --git a/config/routes.rb b/config/routes.rb
index b97709544..a7435c556 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -9,6 +9,7 @@ Rails.application.routes.draw do
     passwords: 'users/passwords',
     registrations: 'users/registrations',
     sessions: 'users/sessions',
+    two_factor_authentication: 'users/two_factor_authentication',
     unlocks: 'users/unlocks'
   }
 
-- 
GitLab