diff options
author | Eugen <eugen@zeonfederated.com> | 2017-04-08 22:20:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-08 22:20:08 +0200 |
commit | 9acdb166e8871632f592bfcd2386dfc288d81a07 (patch) | |
tree | 3ab00999fc01fee2146c70aef2016dbf29939196 /config/routes.rb | |
parent | 470eb0042ea99e0632ccc62a0b7c01e910f70491 (diff) |
Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278)
* Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled TOTP secret is not shown again after 2FA is enabled * Clean up
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 315ad5da5..9cbecf077 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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 |