Added optional two-factor authentication
This commit is contained in:
parent
237cb41ab4
commit
ba192f12e3
16 changed files with 146 additions and 15 deletions
|
@ -47,6 +47,13 @@ Rails.application.routes.draw do
|
|||
namespace :settings do
|
||||
resource :profile, only: [:show, :update]
|
||||
resource :preferences, only: [:show, :update]
|
||||
|
||||
resource :two_factor_auth, only: [:show] do
|
||||
member do
|
||||
post :enable
|
||||
post :disable
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
resources :media, only: [:show]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue