Ensure the first device on a newly-registered account gets cross-signed properly (#8750)
This commit is contained in:
parent
ef6bd3540d
commit
2f7f36ac85
3 changed files with 10 additions and 5 deletions
|
@ -274,9 +274,9 @@ export default class CreateSecretStorageDialog extends React.PureComponent<IProp
|
|||
});
|
||||
};
|
||||
|
||||
private doBootstrapUIAuth = async (makeRequest: (authData: any) => void): Promise<void> => {
|
||||
private doBootstrapUIAuth = async (makeRequest: (authData: any) => Promise<void>): Promise<void> => {
|
||||
if (this.state.canUploadKeysWithPasswordOnly && this.state.accountPassword) {
|
||||
makeRequest({
|
||||
await makeRequest({
|
||||
type: 'm.login.password',
|
||||
identifier: {
|
||||
type: 'm.id.user',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue