Skip to content

Commit

Permalink
Store session cookie when given
Browse files Browse the repository at this point in the history
  • Loading branch information
rubendel committed Mar 18, 2019
1 parent 11b250a commit fca3878
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Expand Up @@ -338,6 +338,8 @@
}
if (token != null) {
Global.bimServerApi.setToken(token, function(){
$.cookie("autologin" + window.document.location.port, token, { });
$.cookie("address" + window.document.location.port, address, { });
$(".indexcontainer").load(Global.baseDir + "main.html", function(){
$(".indexStatus").hide();
Global.current = new Main(Global.bimServerApi.baseUrl, Global.bimServerApi.user).show(false);
Expand Down

0 comments on commit fca3878

Please sign in to comment.