Session Token moved into canvasApp context

This commit is contained in:
Luis Fernando Molina committed 2018-10-25 09:46:59 +02:00
1 parent 0fb9bfebf1
commit 3a97e5925b
3 files changed
+12 -4

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ function loadAdvancedAlgosPlatform() {
/* The second thing to do is to send the tokenSession to the server, so that it can prepare the server side data structures needed. */
let sessionToken = window.SESSION_TOKEN;
let sessionToken = window.canvasApp.sessionToken;
if (sessionToken === undefined) { sessionToken = ""}
let path = window.URL_PREFIX + "AABrowserAPI/authenticateUser/" + sessionToken;