* Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled TOTP secret is not shown again after 2FA is enabled * Clean up
This commit is contained in:
@ -60,9 +60,8 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
resource :two_factor_auth, only: [:show] do
|
||||
resource :two_factor_auth, only: [:show, :new, :create] do
|
||||
member do
|
||||
post :enable
|
||||
post :disable
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user