From 8cf3427e213e85aabd952cfbd94ff19dacf7c897 Mon Sep 17 00:00:00 2001 From: Mehdi Date: Sun, 3 Dec 2023 16:02:27 +0330 Subject: [PATCH] Update Secure Coding - Password Reset.md --- Secure Coding - Password Reset.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Secure Coding - Password Reset.md b/Secure Coding - Password Reset.md index 3b6f3dc..8ec20a6 100644 --- a/Secure Coding - Password Reset.md +++ b/Secure Coding - Password Reset.md @@ -40,8 +40,7 @@ res.send('Password updated successfully'); }); function validateToken(username, token) { // Logic to validate the token for the user -// Check if the token is valid, belongs to the user, and has not -expired +// Check if the token is valid, belongs to the user, and has not expired // Return true if valid, false otherwise } ```