Skip to content

Commit

Permalink
Merge pull request #18 from WERIFY-EU/feature_add_token
Browse files Browse the repository at this point in the history
feature_add_token validate session to generate token
  • Loading branch information
camiloramirez88 authored Jul 10, 2024
2 parents 1d9e335 + bd95c21 commit 23edfb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function checkUserExists(email) {
});
}

router.get('/generate-token', (req, res) => {
router.get('/generate-token', validateSession, (req, res) => {
const payload = {
name: "werify_Kit"
};
Expand Down

0 comments on commit 23edfb1

Please sign in to comment.