JezerM / nody-greeter

LightDM greeter that allows to create wonderful themes with web technologies. Made in Node.js
https://web-greeter-page.vercel.app
GNU General Public License v3.0
138 stars 9 forks source link

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

Open BICH0 opened 1 year ago

BICH0 commented 1 year ago

Environment

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