mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 11:36:24 +01:00
Pass flowSelector from Client.startRegistration
This commit is contained in:
parent
bec8cea583
commit
049a477008
@ -132,14 +132,15 @@ export class Client {
|
||||
});
|
||||
}
|
||||
|
||||
async startRegistration(homeserver, username, password, initialDeviceDisplayName) {
|
||||
async startRegistration(homeserver, username, password, initialDeviceDisplayName, flowSelector) {
|
||||
const request = this._platform.request;
|
||||
const hsApi = new HomeServerApi({homeserver, request});
|
||||
const registration = new Registration(hsApi, {
|
||||
username,
|
||||
password,
|
||||
initialDeviceDisplayName,
|
||||
});
|
||||
},
|
||||
flowSelector);
|
||||
return registration;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user