Skip to content

Commit

Permalink
Update HASHING-PASSWORD.md
Browse files Browse the repository at this point in the history
closes #3
  • Loading branch information
rocambille authored Jun 24, 2024
1 parent f7d8619 commit 9661bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/HASHING-PASSWORD.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const hashPassword = async (req, res, next) => {
- Lorsqu'un nouvel utilisateur est enregistré, le middleware est appelé pour hacher le mot de passe avant de le stocker en base de données.

```js
router.post("/users", hashPassword, userControllers.add);
router.post("/users", hashPassword, userActions.add);
```

### Modifications sur la connexion
Expand Down

0 comments on commit 9661bc4

Please sign in to comment.