We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34644cf commit 411f161Copy full SHA for 411f161
generated/browser/js/fsa/fsa-pre-built.js
@@ -63,13 +63,13 @@
63
return !!Session.user;
64
};
65
66
- this.getLoggedInUser = function () {
+ this.getLoggedInUser = function (fromServer) {
67
68
// If an authenticated session exists, we
69
// return the user attached to that session
70
// with a promise. This ensures that we can
71
// always interface with this method asynchronously.
72
- if (this.isAuthenticated()) {
+ if (this.isAuthenticated() && !fromServer) {
73
return $q.when(Session.user);
74
}
75
@@ -126,4 +126,4 @@
126
127
});
128
129
-})();
+})();
0 commit comments