docbrown/app/assets/javascripts
Jacob Herrington d667490732
Ensure user data is unset if no user is logged in (#13024)
* Ensure loggd out user data is not in the document

* Use delete operator to remove user property

Another function relies on this value not existing. If this property
exists, but is set to undefined, it will not behave as expected.

* Add tests to verify user data does not persist in the DOM after logout

* Update cypress/integration/loginFlows/userLogout.spec.js

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Fixup: Test localStorage for user data

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2021-03-23 07:36:49 -05:00
..
initializers Ensure user data is unset if no user is logged in (#13024) 2021-03-23 07:36:49 -05:00
lib Provide skip links: Tweak skip link style, refactor main area ID (#12694) 2021-02-17 10:15:31 +00:00
utilities improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
.eslintrc.js Replace globals with node env (#10767) 2020-10-14 17:05:38 -04:00
application.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
base.js.erb Revert "Revert "Removed service worker (#12974)" (#13014)" (#13015) 2021-03-17 10:57:56 -04:00
initializePage.js Header navigation dropdown accessibility (#11509) 2021-01-27 09:39:17 +00:00
internal.js Initial commit 2018-02-28 16:11:08 -05:00
jquery_s3_upload.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00