mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
fix copy-pasta error
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
de0895b881
commit
9d0ed6e800
1 changed files with 3 additions and 1 deletions
|
@ -20,6 +20,7 @@ import SdkConfig from '../../../SdkConfig';
|
|||
import AuthPage from "./AuthPage";
|
||||
import * as Matrix from "matrix-js-sdk";
|
||||
import {_td} from "../../../languageHandler";
|
||||
import PlatformPeg from "../../../PlatformPeg";
|
||||
|
||||
// translatable strings for Welcome pages
|
||||
_td("Sign in with SSO");
|
||||
|
@ -43,7 +44,8 @@ export default class Welcome extends React.PureComponent {
|
|||
baseUrl: hsUrl,
|
||||
idBaseUrl: isUrl,
|
||||
});
|
||||
const callbackUrl = this.getSSOCallbackUrl(tmpClient.getHomeserverUrl(), tmpClient.getIdentityServerUrl());
|
||||
const plaf = PlatformPeg.get();
|
||||
const callbackUrl = plaf.getSSOCallbackUrl(tmpClient.getHomeserverUrl(), tmpClient.getIdentityServerUrl());
|
||||
|
||||
return (
|
||||
<AuthPage>
|
||||
|
|
Loading…
Reference in a new issue