April 2020
Intermediate to advanced
716 pages
18h 55m
English
The hashed_password and salt fields represent the encrypted user password that we will use for authentication.
mern-skeleton/server/models/user.model.js:
hashed_password: { type: String, required: "Password is required"},salt: String
The actual password string is not stored directly in the database for security purposes and is handled separately, as discussed in the next section.
Read now
Unlock full access