Switch to stable endpoint/fields for MSC2858

This commit is contained in:
Michael Telatynski 2021-06-01 11:01:09 +01:00
parent a8b6094482
commit f11a7083ae
4 changed files with 5 additions and 4 deletions

View file

@ -112,7 +112,7 @@ interface IProps {
const MAX_PER_ROW = 6;
const SSOButtons: React.FC<IProps> = ({matrixClient, flow, loginType, fragmentAfterLogin, primary}) => {
const providers = flow["org.matrix.msc2858.identity_providers"] || [];
const providers = flow.identity_providers || [];
if (providers.length < 2) {
return <div className="mx_SSOButtons">
<SSOButton