Devlog #4 - Password System
when considering about privacy and security measurements added a security PIN system that secure the list that have been saved in the localStoarge system.
Now needed to save this PIN also in the localStorage and work the renderMsg() if the password is correct else doesn’t show it!
PIN is linked with localstorage and simpley added a if-else condition to identify the user is new in here or not, if the PIN is not saved in localstorage can understand that the user new here, thatfore it will shows a text to create the PIN and else if there is saved PIN shows a text to enter the PIN to continue.
When the user needed to create a pin added a another security condition that doesn’t allow to create if the PIN is less than 4 digit, the user strictly needed a 4 digits PIN to continue
Then added a function to reset the PIN when the user forgot the PIN, user can reset everything (including list menu) by double clicking the C (resetbtn) with conforming the alert notification then the user can reset everything!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.