Remove unused code

No reset option here anymore
pull/21833/head
David Baker 2020-06-25 16:33:07 +01:00
parent 648c0c28c2
commit 78f750265c
1 changed files with 0 additions and 7 deletions

View File

@ -21,7 +21,6 @@ import * as sdk from '../../../../index';
import {MatrixClientPeg} from '../../../../MatrixClientPeg'; import {MatrixClientPeg} from '../../../../MatrixClientPeg';
import { _t } from '../../../../languageHandler'; import { _t } from '../../../../languageHandler';
import { accessSecretStorage } from '../../../../CrossSigningManager';
/* /*
* Access Secure Secret Storage by requesting the user's passphrase. * Access Secure Secret Storage by requesting the user's passphrase.
@ -55,12 +54,6 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
}); });
} }
_onResetRecoveryClick = () => {
// Re-enter the access flow, but resetting storage this time around.
this.props.onFinished(false);
accessSecretStorage(() => {}, /* forceReset = */ true);
}
_onRecoveryKeyChange = (e) => { _onRecoveryKeyChange = (e) => {
this.setState({ this.setState({
recoveryKey: e.target.value, recoveryKey: e.target.value,