mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
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" });
|
||||
},
|
||||
|
||||
showTwoFactorModal() {
|
||||
showModal("second-factor-intro");
|
||||
},
|
||||
|
||||
revokeAccount(account) {
|
||||
const model = this.get("model");
|
||||
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}}
|
||||
{{i18n 'user.second_factor.disable'}}
|
||||
{{else}}
|
||||
{{discourse-linked-text action="showTwoFactorModal" text="user.second_factor.enable"}}
|
||||
{{i18n 'user.second_factor.enable'}}
|
||||
{{/if}}
|
||||
|
||||
{{#if isCurrentUser}}
|
||||
|
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user