1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Indicate which access flow was used

This commit is contained in:
J. Ryan Stinnett
2019-12-05 16:23:00 +00:00
parent 2bdc16b4bd
commit d66dbdea61
2 changed files with 9 additions and 6 deletions

View File

@@ -65,11 +65,11 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
}
_onPassPhraseNext = async () => {
this.props.onFinished(this.state.passPhrase);
this.props.onFinished({ passphrase: this.state.passPhrase });
}
_onRecoveryKeyNext = async () => {
this.props.onFinished(this.state.recoveryKey);
this.props.onFinished({ recoveryKey: this.state.recoveryKey });
}
_onPassPhraseChange = (e) => {