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.
1 line
1.7 KiB
1 line
1.7 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{1457:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return h}));var s=n(3),a=n.n(s),o=n(33),i=n.n(o),c=n(35),r=n.n(c),l=n(36),u=n(39),d=n(34),p=n(41);class h extends i.a.PureComponent{constructor(...e){super(...e),a()(this,"onGoToSettingsClick",()=>{this.props.onFinished(),u.a.dispatch({action:"view_user_settings"})}),a()(this,"onSetupClick",()=>{this.props.onFinished(),p.a.createTrackedDialogAsync("Key Backup","Key Backup",Promise.all([n.e(0),n.e(1)]).then(n.bind(null,1448)),null,null,!1,!0)})}render(){const e=l.getComponent("views.dialogs.BaseDialog"),t=l.getComponent("views.elements.DialogButtons"),n=i.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(d.a)("Recovery Method Removed"));return i.a.createElement(e,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:n},i.a.createElement("div",null,i.a.createElement("p",null,Object(d.a)("This session has detected that your recovery passphrase and key for Secure Messages have been removed.")),i.a.createElement("p",null,Object(d.a)("If you did this accidentally, you can setup Secure Messages on this session which will re-encrypt this session's message history with a new recovery method.")),i.a.createElement("p",{className:"warning"},Object(d.a)("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.")),i.a.createElement(t,{primaryButton:Object(d.a)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(d.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})))}}a()(h,"propTypes",{onFinished:r.a.func.isRequired})}}]); |