You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.1 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1070:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=h(a(6)),o=h(a(4)),i=h(a(5)),s=h(a(7)),l=h(a(8)),u=h(a(0)),r=h(a(1)),c=h(a(3)),d=h(a(13)),p=a(2),f=h(a(15));function h(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e,i,l,u;(0,o.default)(this,t);for(var r=arguments.length,c=Array(r),p=0;p<r;p++)c[p]=arguments[p];return i=l=(0,s.default)(this,(e=t.__proto__||(0,n.default)(t)).call.apply(e,[this].concat(c))),l.onGoToSettingsClick=function(){l.props.onFinished(),d.default.dispatch({action:"view_user_settings"})},l.onSetupClick=function(){l.props.onFinished(),f.default.createTrackedDialogAsync("Key Backup","Key Backup",a.e(0).then(a.t.bind(null,213,7)))},u=i,(0,s.default)(l,u)}return(0,l.default)(t,e),(0,i.default)(t,[{key:"render",value:function(){var e=c.default.getComponent("views.dialogs.BaseDialog"),t=c.default.getComponent("views.elements.DialogButtons"),a=u.default.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},(0,p._t)("Recovery Method Removed"));return u.default.createElement(e,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:a},u.default.createElement("div",null,u.default.createElement("p",null,(0,p._t)("This device has detected that your recovery passphrase and key for Secure Messages have been removed.")),u.default.createElement("p",null,(0,p._t)("If you did this accidentally, you can setup Secure Messages on this device which will re-encrypt this device's message history with a new recovery method.")),u.default.createElement("p",{className:"warning"},(0,p._t)("If you didn't remove the recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings.")),u.default.createElement(t,{primaryButton:(0,p._t)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:(0,p._t)("Go to Settings"),onCancel:this.onGoToSettingsClick})))}}]),t}(u.default.PureComponent);y.propTypes={onFinished:r.default.func.isRequired},t.default=y,e.exports=t.default}}]);
//# sourceMappingURL=13.js.map