Fix SSO buttons for Social Logins
This commit is contained in:
parent
8593845e3d
commit
0fd9b55b95
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ const SSOButton: React.FC<ISSOButtonProps> = ({
|
||||||
const label = idp ? _t("Continue with %(provider)s", { provider: idp.name }) : _t("Sign in with single sign-on");
|
const label = idp ? _t("Continue with %(provider)s", { provider: idp.name }) : _t("Sign in with single sign-on");
|
||||||
|
|
||||||
const onClick = () => {
|
const onClick = () => {
|
||||||
PlatformPeg.get().startSingleSignOn(matrixClient, loginType, fragmentAfterLogin, idp.id);
|
PlatformPeg.get().startSingleSignOn(matrixClient, loginType, fragmentAfterLogin, idp?.id);
|
||||||
};
|
};
|
||||||
|
|
||||||
let icon;
|
let icon;
|
||||||
|
|
Loading…
Reference in a new issue