|
|
@ -37,13 +37,13 @@ namespace :settings do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
resource :otp_authentication, only: [:show, :create], controller: 'two_factor_authentication/otp_authentication'
|
|
|
|
scope module: :two_factor_authentication do
|
|
|
|
|
|
|
|
resource :otp_authentication, only: [:show, :create], controller: :otp_authentication
|
|
|
|
|
|
|
|
|
|
|
|
resources :webauthn_credentials, only: [:index, :new, :create, :destroy],
|
|
|
|
resources :webauthn_credentials, only: [:index, :new, :create, :destroy], path: 'security_keys' do
|
|
|
|
path: 'security_keys',
|
|
|
|
collection do
|
|
|
|
controller: 'two_factor_authentication/webauthn_credentials' do
|
|
|
|
get :options
|
|
|
|
collection do
|
|
|
|
end
|
|
|
|
get :options
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|