We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a115954 + 0fd9b55 commit 675a4b0Copy full SHA for 675a4b0
src/components/views/elements/SSOButtons.tsx
@@ -41,7 +41,7 @@ const SSOButton: React.FC<ISSOButtonProps> = ({
41
const label = idp ? _t("Continue with %(provider)s", { provider: idp.name }) : _t("Sign in with single sign-on");
42
43
const onClick = () => {
44
- PlatformPeg.get().startSingleSignOn(matrixClient, loginType, fragmentAfterLogin, idp.id);
+ PlatformPeg.get().startSingleSignOn(matrixClient, loginType, fragmentAfterLogin, idp?.id);
45
};
46
47
let icon;
0 commit comments