Skip to content

Commit 217e0bd

Browse files
committed
Detect logged out users sooner
Set the flag for "the current user has been detected" even if there's no user logged in. Closes #94
1 parent 9eba4b9 commit 217e0bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/routes/application.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export default Ember.Route.extend({
1919
window.currentUserDetected = true;
2020
Ember.$(window).trigger('currentUserDetected');
2121
});
22+
} else {
23+
window.currentUserDetected = true;
2224
}
2325
},
2426

0 commit comments

Comments
 (0)