diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-18 16:37:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-18 16:37:27 +0200 |
commit | e1066cd4319a220d5be16e51ffaf5236a2f6e866 (patch) | |
tree | 3cac387721ffb3cefa66d96d1867ae88c9e249ce /app/controllers/admin | |
parent | d0c2c5278391b82ba7fa2f230bf237805ff61a0c (diff) |
Add password challenge to 2FA settings, e-mail notifications (#11878)
Fix #3961
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/two_factor_authentications_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/admin/two_factor_authentications_controller.rb b/app/controllers/admin/two_factor_authentications_controller.rb index 2577a4b17..0652c3a7a 100644 --- a/app/controllers/admin/two_factor_authentications_controller.rb +++ b/app/controllers/admin/two_factor_authentications_controller.rb @@ -8,6 +8,7 @@ module Admin authorize @user, :disable_2fa? @user.disable_two_factor! log_action :disable_2fa, @user + UserMailer.two_factor_disabled(@user).deliver_later! redirect_to admin_accounts_path end |