MOBILE-3412 core: Fix auto-login for H5P activity
parent
159056a6fb
commit
5978f25495
|
@ -1820,7 +1820,7 @@ export class CoreSite {
|
||||||
|
|
||||||
this.lastAutoLogin = this.timeUtils.timestamp();
|
this.lastAutoLogin = this.timeUtils.timestamp();
|
||||||
|
|
||||||
return data.autologinurl + '?userid=' + userId + '&key=' + data.key + '&urltogo=' + url;
|
return data.autologinurl + '?userid=' + userId + '&key=' + data.key + '&urltogo=' + encodeURIComponent(url);
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|
||||||
// Couldn't get autologin key, return the same URL.
|
// Couldn't get autologin key, return the same URL.
|
||||||
|
|
Loading…
Reference in New Issue