swarmcity / poly-prototype

New Polymer prototype / polymer cli + truffle
1 stars 1 forks source link

Password problem / solution #3

Open kingflurkel opened 7 years ago

kingflurkel commented 7 years ago

Problem: There's no checking if the password is correct. The app just continues as soon as it finds a password.

Solution: Encrypt password with password. Store this string in localstorage. When submitting password, try to decrypt the localstorage string. Try / catch so you know it's the right pass.

kikipluche commented 7 years ago

This issue was moved to ArcadeCity/rideshare-client#38