mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Use the right protocol for SSO URLs
This commit is contained in:
parent
636529bb36
commit
1b60743910
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||
|
||||
getSSOCallbackUrl(fragmentAfterLogin: string): URL {
|
||||
const url = super.getSSOCallbackUrl(fragmentAfterLogin);
|
||||
url.protocol = "riot";
|
||||
url.protocol = "element";
|
||||
url.searchParams.set("riot-desktop-ssoid", this.ssoID);
|
||||
return url;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue