Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Patch always logging in issue (#546)
Browse files Browse the repository at this point in the history
* Patch always login issue

* turns out  is better
  • Loading branch information
Tim Levett authored Oct 7, 2016
1 parent 29ffade commit 2cba9f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions angularjs-portal-home/src/main/webapp/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ require(['./config', './js/login-config'], function(config, loginConfig) {
if (response.data.username === 'guest') {
$rootScope.GuestMode = true;
}
//for some really weird reason the $sessionStorage here isn't being
//persisted to real session storage, so we have to do it manually.
$sessionStorage.$apply();
}
}
});
} else {
Expand Down

0 comments on commit 2cba9f6

Please sign in to comment.