remove extraneous two factor auth info popup
This commit is contained in:
parent
58b53f7841
commit
817cf8b229
|
@ -204,10 +204,6 @@ export default Ember.Controller.extend(
|
||||||
bootbox.dialog(message, buttons, { classes: "delete-account" });
|
bootbox.dialog(message, buttons, { classes: "delete-account" });
|
||||||
},
|
},
|
||||||
|
|
||||||
showTwoFactorModal() {
|
|
||||||
showModal("second-factor-intro");
|
|
||||||
},
|
|
||||||
|
|
||||||
revokeAccount(account) {
|
revokeAccount(account) {
|
||||||
const model = this.get("model");
|
const model = this.get("model");
|
||||||
this.set("revoking", true);
|
this.set("revoking", true);
|
||||||
|
|
|
@ -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>
|
|
|
@ -71,7 +71,7 @@
|
||||||
{{#if model.second_factor_enabled}}
|
{{#if model.second_factor_enabled}}
|
||||||
{{i18n 'user.second_factor.disable'}}
|
{{i18n 'user.second_factor.disable'}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{discourse-linked-text action="showTwoFactorModal" text="user.second_factor.enable"}}
|
{{i18n 'user.second_factor.enable'}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if isCurrentUser}}
|
{{#if isCurrentUser}}
|
||||||
|
|
|
@ -768,7 +768,7 @@ en:
|
||||||
second_factor:
|
second_factor:
|
||||||
title: "Two Factor Authentication"
|
title: "Two Factor Authentication"
|
||||||
disable: "Disable 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"
|
confirm_password_description: "Please confirm your password to continue"
|
||||||
label: "Code"
|
label: "Code"
|
||||||
rate_limit: "Please wait before trying another authentication code."
|
rate_limit: "Please wait before trying another authentication code."
|
||||||
|
|
Loading…
Reference in New Issue