Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to store and retrieve correctly from window.localStorage #41

Open
BICH0 opened this issue Apr 21, 2023 · 0 comments
Open

Unable to store and retrieve correctly from window.localStorage #41

BICH0 opened this issue Apr 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@BICH0
Copy link

BICH0 commented Apr 21, 2023

Environment

  • OS: Arch Linux
  • nody-greeter version: 1.5.1

Bug description

Storing data in localStorage and login results in data lost (or rolled back to previous state)

Steps to reproduce

window.localStorage.getItem("test");//-> Returns value2
window.localStorage.setItem("test","value2");
//do some things
window.localStorage.setItem("test","value1");
lightdm.authenticate(user);
lightdm.respond(pwd);
lightdm.start_session();

Expected behavior

When storing an item into storage and later retrieve it get that value

@BICH0 BICH0 added the bug Something isn't working label Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant