remove extraneous two factor auth info popup

This commit is contained in:
Jeff Atwood 2018-10-27 14:10:26 -07:00
parent 58b53f7841
commit 817cf8b229
4 changed files with 2 additions and 12 deletions

View File

@ -204,10 +204,6 @@ export default Ember.Controller.extend(
bootbox.dialog(message, buttons, { classes: "delete-account" });
},
showTwoFactorModal() {
showModal("second-factor-intro");
},
revokeAccount(account) {
const model = this.get("model");
this.set("revoking", true);

View File

@ -1,6 +0,0 @@
{{#d-modal-body title="user.second_factor.title"}}
<div>{{{i18n 'user.second_factor.extended_description'}}}</div>
{{/d-modal-body}}
<div class="modal-footer">
</div>

View File

@ -71,7 +71,7 @@
{{#if model.second_factor_enabled}}
{{i18n 'user.second_factor.disable'}}
{{else}}
{{discourse-linked-text action="showTwoFactorModal" text="user.second_factor.enable"}}
{{i18n 'user.second_factor.enable'}}
{{/if}}
{{#if isCurrentUser}}

View File

@ -768,7 +768,7 @@ en:
second_factor:
title: "Two Factor Authentication"
disable: "Disable two factor authentication"
enable: "Enable <a href>two factor authentication</a> for enhanced account security"
enable: "Enable two factor authentication for enhanced account security"
confirm_password_description: "Please confirm your password to continue"
label: "Code"
rate_limit: "Please wait before trying another authentication code."