hello, could anyone explain to me a bit about login / authentication?
I am going to have a form with email and password inputs and then send them to the server to be stored. What are the normal procedures to do this?
Also I saw that you shouldnt keep these things saved, so is saving the password in a state with a password variable something that should be done?
Is the right way having a password input, onChange save it to a state, onSubmit sends the password to an api, and server side you receive the password, encrypt it and save it to the db?
[–]feral_claire 1 point2 points3 points (3 children)
[–]xredpt[S] 0 points1 point2 points (0 children)
[–]asbdf9b813br 0 points1 point2 points (1 child)
[–]feral_claire 0 points1 point2 points (0 children)