mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Merge pull request #5463 from matrix-org/t3chguy/socials
Fix SSO buttons for Social Logins
This commit is contained in:
commit
675a4b0816
@ -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 onClick = () => {
|
||||
PlatformPeg.get().startSingleSignOn(matrixClient, loginType, fragmentAfterLogin, idp.id);
|
||||
PlatformPeg.get().startSingleSignOn(matrixClient, loginType, fragmentAfterLogin, idp?.id);
|
||||
};
|
||||
|
||||
let icon;
|
||||
|
Loading…
Reference in New Issue
Block a user