S
S
Swaer2018-10-17 13:41:50
React
Swaer, 2018-10-17 13:41:50

Practice redux-react login/password input, how to implement?

I want to make a minm project, a login and password entry page, if it’s true, then the entrance, if not, then an error, tell me where to store the login / password data? Is it easy to write and check them in the storage? This will be bad practice and you need to use the server part or is that how it goes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2018-10-17
@Swaer

you need to use the server side and store the response from the server. Usually, after sending the login and password to the server, if everything is correct, then the server returns a token which needs to be stored.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question