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 8e45042 commit 5adc14fCopy full SHA for 5adc14f
generated/browser/js/fsa/fsa-pre-built.js
@@ -69,7 +69,11 @@
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() && !fromServer) {
+
73
+ // Optionally, if true is given as the fromServer parameter,
74
+ // then this cached value will not be used.
75
76
+ if (this.isAuthenticated() && fromServer !== true) {
77
return $q.when(Session.user);
78
}
79
0 commit comments