Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
better loggedinedness check (bug 1075228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Short committed Oct 1, 2014
1 parent 11e2713 commit edd2cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/media/js/commonplace/login.js
Expand Up @@ -55,7 +55,7 @@ define('login',
console.log('Triggering Persona logout');
navigator.id.logout();
}
if ('email' in settings) {
if (storage.getItem('user')) {
// navigator.id callback didn't log us out, let's do it now.
// see https://github.com/mozilla/browserid/issues/3229
logOut();
Expand Down

0 comments on commit edd2cd5

Please sign in to comment.