diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-27 20:28:46 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-27 20:35:16 +0100 |
commit | ba192f12e381842c90df0fab2fcb1a23cae97fc4 (patch) | |
tree | 1af8032d690d9c20af8b481d42978829b01334b6 /config/routes.rb | |
parent | 237cb41ab4d841fb215ce6707c8d7695ef44b103 (diff) |
Added optional two-factor authentication
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 9423a0ae2..87f35770a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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] |