fix: Sending ThreepidCreds in UIA

This commit is contained in:
Krille Fear 2021-11-04 16:09:12 +01:00
commit 0ea29a2d6b
4 changed files with 11 additions and 14 deletions

View file

@ -56,12 +56,10 @@ extension UiaRequestManager on MatrixState {
final auth = AuthenticationThreePidCreds(
session: uiaRequest.session,
type: AuthenticationTypes.emailIdentity,
threepidCreds: [
ThreepidCreds(
sid: currentThreepidCreds.sid,
clientSecret: currentClientSecret,
),
],
threepidCreds: ThreepidCreds(
sid: currentThreepidCreds.sid,
clientSecret: currentClientSecret,
),
);
if (OkCancelResult.ok ==
await showOkCancelAlertDialog(