mirror of https://github.com/vector-im/riot-web
Use the right protocol for SSO URLs
parent
636529bb36
commit
1b60743910
|
@ -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 New Issue