Remove unused code

No reset option here anymore
This commit is contained in:
David Baker 2020-06-25 16:33:07 +01:00
parent 648c0c28c2
commit 78f750265c

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,