Skip to content

Commit 675a4b0

Browse files
authored
Merge pull request matrix-org#5463 from matrix-org/t3chguy/socials
Fix SSO buttons for Social Logins
2 parents a115954 + 0fd9b55 commit 675a4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/elements/SSOButtons.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const SSOButton: React.FC<ISSOButtonProps> = ({
4141
const label = idp ? _t("Continue with %(provider)s", { provider: idp.name }) : _t("Sign in with single sign-on");
4242

4343
const onClick = () => {
44-
PlatformPeg.get().startSingleSignOn(matrixClient, loginType, fragmentAfterLogin, idp.id);
44+
PlatformPeg.get().startSingleSignOn(matrixClient, loginType, fragmentAfterLogin, idp?.id);
4545
};
4646

4747
let icon;

0 commit comments

Comments
 (0)