Issue 3386 [1] was filed yesterday under the title "Users cannot log out".
This is due to an error on my part in PR 3350 [2].
In PR 3350, my aim was to consolidate the way we store site specific
information in localStorage. We had some information under the
'siteInfo' namespace, some information under the 'loggedIn' namespace. I
consolidated the two.
To make sure that users were still logged in after the consolidation, I
wrote a bit of code [3] to automatically update localStorage. When the
update was complete, I should have removed the original information. I
did not.
The effect is that if a user was signed in before the push to prod, they
visit a site that uses the .watch API and click on that site's signout
button, the user is marked as signed in again as soon as they refresh
the page.
Users who clear localStorage do not see the problem. Users who only
signed in to the site after the push to prod do not see the problem.
Users who sign out of Persona should not see the problem.
I have issued a PR that needs further consideration [4]. Seanmonstar has
given an r+, jrgm and Gene, is this hotfix material?
Shane
=====
[1] -
https://github.com/mozilla/browserid/issues/3386
[2] -
https://github.com/mozilla/browserid/pull/3150
[3] -
https://github.com/mozilla/browserid/pull/3150/files#L0R43
[4] -
https://github.com/mozilla/browserid/pull/3398